Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have disabled the X in a userform by
Private Sub UserForm_QueryClose(Cancel As Integer, CloseMode As Integer) If CloseMode = 0 Then Cancel = True UserForm6.Show End If End Sub Which cancels them trying to close the window and redirects then to a different userform... Once I have chosen this option in the application once, it does not appear to run again... it appears that this resets the button to always be cancelled... How do I enable it so that this macro always runs with the red X is pressed? Thx |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
enabling/disabling a set of code from within a spreadsheet sheet | Excel Discussion (Misc queries) | |||
Disabling and re-enabling the AutoFilter from VBA | Excel Programming | |||
Help with Enabling / Disabling Menu Items..! | Excel Programming | |||
Disabling/Enabling Macros | Excel Programming | |||
Enabling/Disabling Macros | Excel Programming |