Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default Customize options in a MsgBox

Hello,

I am in need of some assistance. I have to code a command button, when
the button is pressed, a msgbox need to popup. This is normally not a
problem, I can do it in my sleep. However, what I am unsure at to what
to do, is give the user three different buttons which I have to name.
And based on which button they push. I need to call a macro for it. I
know how to do the last part, it is just the msgbox I need help on.
Thanks.


*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Customize options in a MsgBox

You can't customize the names of a MsgBox without some serious subclassing,
you'll have to create a Form or if it's not a really professional thing do
something as follows.

Msgbox("Would you like to run Code A(Yes), Code B(No) or Code
C(Cancel)?",vbyesnocancel)

Then code as if msgbox=vbyes, vbno, vbcancel, etc.

gl,
Bodi

"Darrin Henry" wrote in message
...
Hello,

I am in need of some assistance. I have to code a command button, when
the button is pressed, a msgbox need to popup. This is normally not a
problem, I can do it in my sleep. However, what I am unsure at to what
to do, is give the user three different buttons which I have to name.
And based on which button they push. I need to call a macro for it. I
know how to do the last part, it is just the msgbox I need help on.
Thanks.


*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default Customize options in a MsgBox

Thanks, the form worked great. I have a lot to learn.


*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Reply
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
tools options view window options Joe[_14_] Excel Discussion (Misc queries) 1 November 11th 09 04:08 PM
Show Data validation List options in a msgbox jlclyde Excel Discussion (Misc queries) 1 October 28th 09 07:26 PM
Pivot Table Security - customize field options based on user accou HBA Excel Discussion (Misc queries) 0 November 4th 08 06:50 PM
How do I customize Excel print options? Monica Excel Worksheet Functions 2 September 7th 06 02:55 PM
how do I add more toolbar options to my right click options Rosie Excel Discussion (Misc queries) 1 August 11th 06 04:52 PM


All times are GMT +1. The time now is 08:59 PM.

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

About Us

"It's about Microsoft Excel"