Customizing buttons VBA

S

Stephane

Hi,

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

Thank you
Stephane
 
A

AA2e72E

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.
 
R

Ron de Bruin

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
 
B

Bob Phillips

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)
 
B

Bob Phillips

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)
 
Top