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: 11
Default vbYesNo

i currently use the vbYesNo function for many non-yes/no questions like:

msg "hit 'yes' for mark, 'no' for john"
ans = msgbox(msg,vbYesNo)
if ans = vbYes then
'use code pertaining to mark
else
'use code pertaining to john
end if

my question is can i use something like:
ans = msgbox(msg,vbMarkJohn) 'i know this doesn't work, but the idea is
there.
i would like for "Mark" to appear on one button and "John" on the other.
if this can be done (w/out user forms), can you have mark, john, AND
matthew?
thanks, mike allen


 
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
vbYesNo, change carriage return jbjtc Excel Discussion (Misc queries) 4 September 28th 07 09:13 AM
VBYesNo MsgBox - Computer always says "Yes" Peter Rooney Excel Discussion (Misc queries) 4 December 22nd 05 02:42 PM
VbYesNo Msg Box mjack003 Excel Discussion (Misc queries) 1 September 22nd 05 03:09 AM


All times are GMT +1. The time now is 12:23 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"