Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Dim var As Variant
Dim ans as Long var = 37 ans = MsgBox (var & " is Row Number, is this correct", vbYesNo) if ans = vbNo then _ exit sub -- Regards, Tom Ogilvy "rleonard" wrote in message ... Need to change so that If 37 is incorrect Ican stop or cancel running of Macro. the number "37" is changed by using Edit Find & Replace while editing macro Dim var As Variant var = 37 MsgBox var & " is Row Number" thanks Bob Leonard |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
msgbox | Excel Worksheet Functions | |||
MsgBox | Excel Discussion (Misc queries) | |||
Wait for user to change data after msgbox ???? | Excel Discussion (Misc queries) | |||
Can MsgBox Do This?? | Excel Programming | |||
how change selection when msgbox dialog box on screen? | Excel Programming |