ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Customizing buttons VBA (https://www.excelbanter.com/excel-programming/295660-customizing-buttons-vba.html)

Stephane[_3_]

Customizing buttons VBA
 
Hi,

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

Thank you
Stephane

AA2e72E[_2_]

Customizing buttons VBA
 
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.

Ron de Bruin

Customizing buttons VBA
 
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

--
Regards Ron de Bruin
http://www.rondebruin.nl


"Stephane" wrote in message om...
Hi,

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

Thank you
Stephane




Bob Phillips[_6_]

Customizing buttons VBA
 
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)

"Ron de Bruin" wrote in message
...
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

--
Regards Ron de Bruin
http://www.rondebruin.nl


"Stephane" wrote in message

om...
Hi,

I would like to know how to customize the buttons with the function

MsgBox in VBA???

Thank you
Stephane






Ron de Bruin

Customizing buttons VBA
 
You are a real API lover Bob<g

--
Regards Ron de Bruin
http://www.rondebruin.nl


"Bob Phillips" wrote in message ...
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)

"Ron de Bruin" wrote in message
...
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

--
Regards Ron de Bruin
http://www.rondebruin.nl


"Stephane" wrote in message

om...
Hi,

I would like to know how to customize the buttons with the function

MsgBox in VBA???

Thank you
Stephane








Bob Phillips[_6_]

Customizing buttons VBA
 
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)

"Ron de Bruin" wrote in message
...
You are a real API lover Bob<g

--
Regards Ron de Bruin
http://www.rondebruin.nl


"Bob Phillips" wrote in message

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

"Ron de Bruin" wrote in message
...
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

--
Regards Ron de Bruin
http://www.rondebruin.nl


"Stephane" wrote in message

om...
Hi,

I would like to know how to customize the buttons with the function

MsgBox in VBA???

Thank you
Stephane









Frank Kabel

Customizing buttons VBA
 
Hi Ron
seems to be his real passion :-)

-----Original Message-----
You are a real API lover Bob<g

--
Regards Ron de Bruin
http://www.rondebruin.nl


"Bob Phillips" wrote

in message news:%23Vb5%
...
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)

"Ron de Bruin" wrote in

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

--
Regards Ron de Bruin
http://www.rondebruin.nl


"Stephane" wrote in message

om...
Hi,

I would like to know how to customize the buttons

with the function
MsgBox in VBA???

Thank you
Stephane






.



All times are GMT +1. The time now is 04:40 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com