Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
change yes/no buttons
I have a macro that produces a message box and I have used vbYesNo so the
user can answer a question. However instead of a yes or no answer I want the user to answer with 'left' or 'right'. Is it possible to change the text of these buttons? Thanks in advance. |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
change yes/no buttons
No, you'll have to go the long way round and create a UserForm with your own
buttons. "fullers" wrote: I have a macro that produces a message box and I have used vbYesNo so the user can answer a question. However instead of a yes or no answer I want the user to answer with 'left' or 'right'. Is it possible to change the text of these buttons? Thanks in advance. |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
change yes/no buttons
Mainly for this purpose (changing the button captions) I have made a custom
messagebox. This works with a VB6 dll file. Besides giving you the option to set the button captions it has a lot of other useful features and I use this now in any non-trivial Excel application. If you are interested I can mail the file. RBS "fullers" wrote in message ... I have a macro that produces a message box and I have used vbYesNo so the user can answer a question. However instead of a yes or no answer I want the user to answer with 'left' or 'right'. Is it possible to change the text of these buttons? Thanks in advance. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Cell name to change name in codes of command buttons | Excel Discussion (Misc queries) | |||
Change Source / Update Now buttons not available | Links and Linking in Excel | |||
Why would Excel change position of control buttons? | Excel Programming | |||
Using buttons to change a columns data | Excel Discussion (Misc queries) | |||
How to change color of buttons if pressed? | Excel Programming |