Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 273
Default How Do I Get Custom Captions For MsgBox Buttons

Greetings,

I would like to use a MsgBox to choose between two choices ("New" and
"Modify"). In checking the VBA help, there is no option listed for
custom button captions. Is this a limit of Excel 2003 or did I miss
something?

Any suggestions or insights will be appreciated. Thanks.

-Minitman
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default How Do I Get Custom Captions For MsgBox Buttons

Short Answer:
No, it's not a limit of Excel. And no, you can't use custom buttons, either.

Long Answer:
MsgBox is a function found in the VBA library (vba.MsgBox() ).
The limits are not based on Execl version, but rather the VBA library
version. Since I don't have 2003, I can't tell you what version of VBA is
used. I guess that it's the same VBA library as found on my machine, which is
found in the msvbvm60.dll object library.

HTH.

Dave


"Minitman" wrote:

Greetings,

I would like to use a MsgBox to choose between two choices ("New" and
"Modify"). In checking the VBA help, there is no option listed for
custom button captions. Is this a limit of Excel 2003 or did I miss
something?

Any suggestions or insights will be appreciated. Thanks.

-Minitman

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,588
Default How Do I Get Custom Captions For MsgBox Buttons

Most likely you'll need to create a custom form for this.

Tim

--
Tim Williams
Palo Alto, CA


"Minitman" wrote in message
...
Greetings,

I would like to use a MsgBox to choose between two choices ("New" and
"Modify"). In checking the VBA help, there is no option listed for
custom button captions. Is this a limit of Excel 2003 or did I miss
something?

Any suggestions or insights will be appreciated. Thanks.

-Minitman



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default How Do I Get Custom Captions For MsgBox Buttons

I have some code to do this but it is somewhat flaky, you can have it if you
want, but I would suggest you use Tim's custom form solution.

--

HTH

RP

"Minitman" wrote in message
...
Greetings,

I would like to use a MsgBox to choose between two choices ("New" and
"Modify"). In checking the VBA help, there is no option listed for
custom button captions. Is this a limit of Excel 2003 or did I miss
something?

Any suggestions or insights will be appreciated. Thanks.

-Minitman



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 273
Default How Do I Get Custom Captions For MsgBox Buttons

Hey Dave,

Thanks for the reply. It was not what I was hoping for, but I was
expecting it.

-Minitman



On Thu, 19 Jan 2006 14:23:05 -0800, David Frette
wrote:

Short Answer:
No, it's not a limit of Excel. And no, you can't use custom buttons, either.

Long Answer:
MsgBox is a function found in the VBA library (vba.MsgBox() ).
The limits are not based on Execl version, but rather the VBA library
version. Since I don't have 2003, I can't tell you what version of VBA is
used. I guess that it's the same VBA library as found on my machine, which is
found in the msvbvm60.dll object library.

HTH.

Dave


"Minitman" wrote:

Greetings,

I would like to use a MsgBox to choose between two choices ("New" and
"Modify"). In checking the VBA help, there is no option listed for
custom button captions. Is this a limit of Excel 2003 or did I miss
something?

Any suggestions or insights will be appreciated. Thanks.

-Minitman




  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 273
Default How Do I Get Custom Captions For MsgBox Buttons

Hey Tim,

Thanks for the reply.

I can do that, I was hoping for an easier solution. Oh well, thus is
life.

-Minitman



On Thu, 19 Jan 2006 15:10:02 -0800, "Tim Williams" <timjwilliams at
gmail dot com wrote:

Most likely you'll need to create a custom form for this.

Tim


  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 273
Default How Do I Get Custom Captions For MsgBox Buttons

Hey Bob,

Thanks for the reply.

I wouldn't mind looking at your solution, I could learn something from
it. Tim's solution might be the most practical, but yours sounds more
'interesting'(Lord save us from interesting times!!! <G).

If you don't mind, I would like to look at your code.

Thanks.

-Minitman



On Thu, 19 Jan 2006 23:37:22 -0000, "Bob Phillips"
wrote:

I have some code to do this but it is somewhat flaky, you can have it if you
want, but I would suggest you use Tim's custom form solution.


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
createing a dynamic array of buttons with captions loaded from she ouch Excel Discussion (Misc queries) 3 June 5th 07 03:27 AM
Can the captions for Option Buttons be drawn from other cells ? hedonist68 Excel Discussion (Misc queries) 3 September 8th 05 02:25 PM
msgbox with no buttons jkitzy Excel Programming 1 December 30th 04 02:58 AM
msgbox buttons jmikerea Excel Programming 4 May 28th 04 07:16 AM
custom toolbar buttons are saved where? Excel loads twice bymistake and all my custom toolbar buttons get gone!!! Kevin Waite Excel Programming 2 March 3rd 04 03:31 PM


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