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
Jezebel - 19 Feb 2006 10:55 GMT
Not directly. There are API calls you can use, but it would be easier to
roll your own with a UserForm.
> 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
[quoted text clipped - 8 lines]
>
> Ed
RB Smissaert - 22 Feb 2006 23:25 GMT
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
> 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
[quoted text clipped - 8 lines]
>
> Ed