ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   End Double Sub (https://www.excelbanter.com/excel-programming/312936-end-double-sub.html)

Zurn[_20_]

End Double Sub
 

I can write Stop, insteed of End Sub...then the macro ends completely
but my VBA editor opens!

Isn't there a possibility to stop a macro without the VBA editor opens

--
Zur
-----------------------------------------------------------------------
Zurn's Profile: http://www.excelforum.com/member.php...fo&userid=1464
View this thread: http://www.excelforum.com/showthread.php?threadid=26724


Rob van Gelder[_4_]

End Double Sub
 
You might want to use Exit Sub instead of Stop

--
Rob van Gelder - http://www.vangelder.co.nz/excel


"Zurn" wrote in message
...

I can write Stop, insteed of End Sub...then the macro ends completely,
but my VBA editor opens!

Isn't there a possibility to stop a macro without the VBA editor opens?


--
Zurn
------------------------------------------------------------------------
Zurn's Profile:
http://www.excelforum.com/member.php...o&userid=14645
View this thread: http://www.excelforum.com/showthread...hreadid=267249





All times are GMT +1. The time now is 03:44 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com