Custom MsgBox

jbrouse

Active Member
Joined
Apr 28, 2005
Messages
329
Greetings,

Is it possible to make a customized message box? Basically, I want a message box similar to the vbYesNo type, but instead of having options of "Yes" and "No", I would like "Accept" and "Reject".

Is this possible?

Thanks in advance!
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).

Smitty

Legend
Joined
May 15, 2003
Messages
29,536
Sure, you can build a User Form to mimic a message box.

HTH,

Smitty
 

erik.van.geit

MrExcel MVP
Joined
Feb 1, 2003
Messages
17,832
Hi,

I think you will need a userform for this

never created one ?
I suggest you do a search on the Board + check out the helpfiles

basically you will need these steps
in VBA-editor
menu insert /userform
create a label
type any text in it
create two commandbuttons
change captions as needed
double-click them and write code

kind regards,
Erik
 

DominicB

Well-known Member
Joined
Oct 3, 2005
Messages
1,569
Good morning jbrouse

It can be done only using API's - you might want to use a userform once you see the code, but just for the benefit of anybody else who wants to see how it's done, IvanF Moala shows here :

http://www.xcelfiles.com/API_11.html

HTH

DominicB
 

Forum statistics

Threads
1,136,268
Messages
5,674,734
Members
419,523
Latest member
Urnovio

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top