Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Is there a way to exit a program during it's execution. I want to
check if a condition is met...if not, then exit the program. thanks chuckm |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Chuck,
You can use the Exit Sub statement to exit the current procedure. E.g., If whatever = False Then Exit Sub End If "ChuckM" wrote in message ... Is there a way to exit a program during it's execution. I want to check if a condition is met...if not, then exit the program. thanks chuckm |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Chuck,
Sure can.... What condition are you checking for?? If range("A1") = "abc" Then Exit Sub John "ChuckM" wrote in message ... Is there a way to exit a program during it's execution. I want to check if a condition is met...if not, then exit the program. thanks chuckm |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Run macro on exit | Excel Discussion (Misc queries) | |||
Excel 2007 Exit Error | Excel Discussion (Misc queries) | |||
Make Exec work properly (error messages on start and exit) | Excel Discussion (Misc queries) | |||
Exit via macro only? | Excel Discussion (Misc queries) | |||
on exit macro | Excel Discussion (Misc queries) |