abi_learn_vba
Board Regular
- Joined
- Nov 6, 2009
- Messages
- 215
Hi,
I am running a procedure called as "Sub Report" which Calls another procedure and based on checking some condition in that i need stop all my running procedure. Can this be done? Within Same procedure i can use Exit Sub. But from another procedure.
Thanks
-Abi
I am running a procedure called as "Sub Report" which Calls another procedure and based on checking some condition in that i need stop all my running procedure. Can this be done? Within Same procedure i can use Exit Sub. But from another procedure.
Code:
Sub Report()
Call nwprocedure
End Sub
Sub nwprocedure
'on some condition
'need to exit all the procedure including "Sub report"
End Sub
Thanks
-Abi