How to disable the close form with the click "X"...?
How to disable the close form with the click "X"...?

This month, every Windows Secrets subscriber can download a one-chapter excerpt of Windows 7: The Missing Manual.Windows 7: The Missing Manual provides valuable information to help you overcome these difficulties in learning a new operating system. Subscribe today to download your free excerpt.
See Andrew Cronnolly's <post#=96240>post 96240</post#>. The code he posted goes into the module that belongs to the userform.
... still, on button, is possible to eliminate the little line with the little point arround the botton when this is clicked?
The code in <post#=68870>post 68870</post#> can be used to hide the x button in the upper right corner of the userform.
ok! very good code.
But is allso possible to no permit to click on a "X" in a MsgBox and permit only the click on button "OK" of the msgbox?
The MsgBox function is a rather primitive Windows function. As far as I know, you can't control its close button. If it is really important to you, you could create a userform that looks like a MsgBox with the x button disabled or hidden. But it would be a lot of work.
dont worry... i change my msgbox in a userform