ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   messagebox without default button (https://www.excelbanter.com/excel-programming/317475-messagebox-without-default-button.html)

Peter Janssens

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










All times are GMT +1. The time now is 10:26 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com