LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27
Default message box program flow

Sub ZZZZ()
Dim retVal As Long

retVal = MsgBox("???", vbYesNoCancel + vbQuestion + vbDefaultButton1)

Select Case retVal
Case vbYes
MsgBox "YES"
Case vbNo
MsgBox "NO"
Case vbCancel
MsgBox "CANCEL"
End Select
End Sub


Uzytkownik "Steven Wathen" napisal w
wiadomosci ...

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!



 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
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 LunaMoon Excel Discussion (Misc queries) 0 July 28th 08 11:03 PM
Where are the flow shape and flow connector tabs in Vista? brad Charts and Charting in Excel 1 March 29th 08 04:53 AM
How do I label flow connectors in and excel flow chart? Hannah Excel Discussion (Misc queries) 1 September 7th 06 07:55 PM
Excel Program Error - Excel.exe Generated Errors Message Denise Lane Setting up and Configuration of Excel 4 March 18th 05 10:09 PM
message box program flow Chip Pearson Excel Programming 0 August 19th 03 09:54 PM


All times are GMT +1. The time now is 06:15 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"