soniaalalwani
New Member
Hi,
I have paused the macros by using Exit sub and now i want the user to click on a button in the excel which will help him resume the code. I have tried the following but it seems that Goto works only in one Sub:
Sub Next_Client()
Goto 10
End Sub
but this doesnt work. Is there a way where i can call the other macro and it starts executing from the line i left or the line want it to run from. Soemthing like:
Sub Next_Client
New_Info 'This calls the sub with the name New_Info
'I want something like
New_Info (line 10)or (Goto 10) '10 being the line number where i stopped the macro initially
End Sub
Can i use Call in the code for this?
I hope i am clear and someone out here can help me with this
I have paused the macros by using Exit sub and now i want the user to click on a button in the excel which will help him resume the code. I have tried the following but it seems that Goto works only in one Sub:
Sub Next_Client()
Goto 10
End Sub
but this doesnt work. Is there a way where i can call the other macro and it starts executing from the line i left or the line want it to run from. Soemthing like:
Sub Next_Client
New_Info 'This calls the sub with the name New_Info
'I want something like
New_Info (line 10)or (Goto 10) '10 being the line number where i stopped the macro initially
End Sub
Can i use Call in the code for this?
I hope i am clear and someone out here can help me with this