Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Close Buttom
Hi
In a userform there are a Red Cross to close the form Can i disable this ? Regards alvin |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Close Buttom
I use the userform queryclose to disable 'Red Cross'
Private Sub UserForm_QueryClose(Cancel As Integer, CloseMode As Integer) If CloseMode = vbFormControlMenu Then Cancel = True End If End Sub -- ----------------------------- "alvin Kuiper" wrote: Hi In a userform there are a Red Cross to close the form Can i disable this ? Regards alvin |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Close Buttom
Thanks
Alvin "GerardV" skrev: I use the userform queryclose to disable 'Red Cross' Private Sub UserForm_QueryClose(Cancel As Integer, CloseMode As Integer) If CloseMode = vbFormControlMenu Then Cancel = True End If End Sub -- ----------------------------- "alvin Kuiper" wrote: Hi In a userform there are a Red Cross to close the form Can i disable this ? Regards alvin |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
2 Macros 1 Buttom | Excel Worksheet Functions | |||
How do I add command buttom? | Excel Discussion (Misc queries) | |||
Attaching a buttom with an event on VBA | Excel Programming | |||
Attaching a buttom with an event on VBA | Excel Programming | |||
Attaching a buttom with an event on VBA | Excel Programming |