Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 06-15-2017, 03:31 PM
gmaxey gmaxey is offline Run 1 of 2 Macros Depending on Y/N Response to Message Box Windows 7 32bit Run 1 of 2 Macros Depending on Y/N Response to Message Box Office 2016
Expert
 
Join Date: May 2010
Location: Brasstown, NC
Posts: 1,617
gmaxey is just really nicegmaxey is just really nicegmaxey is just really nicegmaxey is just really nicegmaxey is just really nice
Default

That way or:
Code:
Sub RunOneOrTheOther()
  Select Case MsgBox("Do you want to run Macro A?", vbQuestion + vbYesNo, "Run Macro")
    Case vbYes: A
    Case vbNo: B
  End Select
End Sub
__________________
Greg Maxey
Please visit my web site at http://www.gregmaxey.com/
Reply With Quote
 

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help: Very low response-rate! Jeff10 Office 6 12-17-2013 10:44 AM
Reply All in auto response Quackymacduck Outlook 0 10-12-2011 11:50 AM
Failing calendar response lucura Outlook 0 03-24-2011 01:01 AM
Run 1 of 2 Macros Depending on Y/N Response to Message Box appointments deleted from inbox upon response Roscoe Outlook 1 03-03-2010 12:15 PM
Unexpected Server Response GreenAccord Project 0 01-31-2006 12:52 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 07:08 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft