Excel Programming >> messagebox without default button
Hi,
Is it possible to create a messagebox without a default button?
For example: MsgBox "hallo", vbOKCancel + vbDefaultButton2 makes the
Cancel-button default. I would like to have that none of the two buttons are
default. The user has to click on it (not by pressing Enter).
Excel Programming >> messagebox without default button
Maybe just a small userform would be in order.
(I couldn't remove the default from all of the buttons.)
>
> Hi,
>
> Is it possible to create a messagebox without a default button?
>
> For example: MsgBox "hallo", vbOKCancel + vbDefaultButton2 makes the
> Cancel-button default. I would like to have that none of the two buttons are
> default. The user has to click on it (not by pressing Enter).
>
> Thanks.
> Peter