Controlling Msgbox colors

E

Ed

I use the heck out of the 'msgbox' command. Msgbox resizes as it handles
more (or less) message text, more (or fewer) buttons, etc. It seems,
therefore, a waste of time to try to duplicate the auto-sizing aspects with
a UserForm.

However, the background color of the msgbox is not consistent with the
colors I have chosen for my UserForms.Can I control the background and
button colors of msgbox using VBA?

Thanks,

Ed
 
J

Jezebel

Not directly. There are API calls you can use, but it would be easier to
roll your own with a UserForm.
 
R

RB Smissaert

I have recently put together a VB6 ActiveX dll that is a replacement MsgBox
with colour support and a lot more.
If you want I can send you the dll, which is about 15 kB zipped.

RBS
 

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

Top