Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Sub MessageBoxCheck() If MsgBox("Continue?", vbQuestion + _ vbOKCancel, "Test") = vbCancel Then MsgBox "Cancelled" Exit Sub End If ' ' you process here ' MsgBox "Processed" End Sub Patrick Molloy Microsoft Excel MVP -----Original Message----- I am having one of the brain-blanks. For some reason, when you click the cancel button on several of my msg or input boxes, it does not cancel the function, but returns to the loop. What do I do to get the cancel buttons to function normally...? . |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Workbook_BeforeClose(Cancel As Boolean) - Cancel won't work | Setting up and Configuration of Excel | |||
msgbox cancel? | Excel Discussion (Misc queries) | |||
Option Buttons/Radio Buttons | New Users to Excel | |||
Form buttons vs. ActiveX Buttons | Excel Discussion (Misc queries) | |||
have toggle buttons but everytime print preview buttons move | Excel Discussion (Misc queries) |