Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I'm trying to find the coding to disable the red 'X' in the right hand corner
of any Excel worksheet. I know what the code is for a form, but can't find the code for the worksheet. The code I'm using for my form is the following: Private Sub UserForm_QueryClose(Cancel As Integer, CloseMode As Integer) If CloseMode = vbFormControlMenu Then Cancel = True MsgBox "Please use the button !!" End If End Sub Any help would be appreciated. Steve |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
disabling excel 2007 | Excel Discussion (Misc queries) | |||
disabling a cell in excel | Excel Programming | |||
Disabling some MS Excel warnings. | Excel Discussion (Misc queries) | |||
Disabling Excel VBA Pop-ups... | Excel Programming | |||
Disabling COM Addins in Excel | Excel Programming |