Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
message box program flow
Steven,
Try something like Dim Res As VbMsgBoxResult Res = MsgBox("Message", vbYesNoCancel) If Res = vbYes Then ' user clicked yes ElseIf Res = vbNo Then ' user clicked no Else ' user clicked cancel End If -- Cordially, Chip Pearson Microsoft MVP - Excel Pearson Software Consulting, LLC www.cpearson.com "Steven Wathen" wrote in message ... I`ve got a message box with the vbyesnocancel buttons on. How do i make my program go in different directions depending on the choice made in the message box. what value or constant changes when each different button is pressed?? *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Is there a way to unload the loaded XLL file in Excel? Hi all, I amdebugging XLL link library using Visual C++. Everytime I rebuild the XLL, Ihave to close the whole Excel program and relaunch the Excel program again,and then load in the newly gene | Excel Discussion (Misc queries) | |||
Where are the flow shape and flow connector tabs in Vista? | Charts and Charting in Excel | |||
Cash Flow | Charts and Charting in Excel | |||
How do I label flow connectors in and excel flow chart? | Excel Discussion (Misc queries) | |||
Excel Program Error - Excel.exe Generated Errors Message | Setting up and Configuration of Excel |