Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() I ask user to choose a file, then I use this file to do sth. But if h cancels, I want to stop my macro. For example, Code ------------------- Dim s_file As String s_file = Application.GetOpenFilename("Fichiers office, *.xls") If s_file = "False" Then ' I want stop my macro here End If ' .. ------------------- Regards -- Guendal ----------------------------------------------------------------------- Guendalf's Profile: http://www.excelforum.com/member.php...fo&userid=2448 View this thread: http://www.excelforum.com/showthread.php?threadid=38086 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Macro Stop | Excel Worksheet Functions | |||
Stop running a macro in the middle of a macro | Excel Programming | |||
Macro: With Stop it works. Without Stop it doesn't. | Excel Programming | |||
Start Macro / Stop Macro / Restart Macro | Excel Programming | |||
How do I stop a macro | Excel Programming |