Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
chane what 'x' button on top right of the form does
How can I code the 'x' button located on the top right of the form such that
it quits the application? or make it do something that I want. Thanks in advance |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
chane what 'x' button on top right of the form does
paste behaind form:
Private Sub UserForm_QueryClose(Cancel As Integer, CloseMode As Integer) If CloseMode = 0 Then 'do something MsgBox "You Pressed X" End If End Sub -- jb "sam" wrote: How can I code the 'x' button located on the top right of the form such that it quits the application? or make it do something that I want. Thanks in advance |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Change from a Command Button to a Form Button | Excel Programming | |||
Command Button vs Form Button | Excel Programming | |||
column names - chane from numbrts back to A- z | Excel Discussion (Misc queries) | |||
how can you chane the font size in a combo box? | Excel Discussion (Misc queries) | |||
Command Button vs Form Button | Excel Programming |