messagebox without default button  
Author Message
Harrie





PostPosted: Sun Nov 21 09:55:41 CST 2004 Top

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

Thanks.
Peter

Excel271  
 
 
Dave





PostPosted: Sun Nov 21 09:55:41 CST 2004 Top

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

--

Dave Peterson