Customizing buttons VBA

  • Thread starter Thread starter Stephane
  • Start date Start date
S

Stephane

Hi,

I would like to know how to customize the buttons with the function MsgBox in VBA???

Thank you
Stephane
 
If you mean how can you change the caption on the buttons displayed by MsgBox, the answer is you can't. If you need to, design your own form for displaying messages.
 
Hi Stephane

Look at the buttons argument in the VBA help
MsgBox "Hi", vbInformation

If you don't mean this then

You can't
Make your own MsgBox with a userform
 
or you can check out my previous post on the subject at

http://tinyurl.com/2qalu

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)
 
I sure am - the power of the OS.

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top