ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   modeless (https://www.excelbanter.com/excel-programming/364085-modeless.html)

enyaw

modeless
 
Is there a way of creating a message box with no X button on it?

Norman Jones

modeless
 
Hi Enyaw,

Is there a way of creating a message box with no X button on it?


Perhaps:

MsgBox Prompt:="Hi", Buttons:=vbYesNo

Otherwise, why do you need to remove / disable the cancel button?

You could, of course, use a custom userform.


---
Regards,
Norman




All times are GMT +1. The time now is 05:23 PM.

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