'X' button on a form

'X' button on a form

Anonymous
Not applicable
282 Views
3 Replies
Message 1 of 4

'X' button on a form

Anonymous
Not applicable
Hi All,

I am trying to click on the 'X' button of form and come out of the application but that doesnt seem to happen.The application is continuing to execute. Is there a way to change the functionality of the 'X' button so that it cancels the application??

Any helps is appreciated,

Thanks
Avantika
0 Likes
283 Views
3 Replies
Replies (3)
Message 2 of 4

arcticad
Advisor
Advisor
Private Sub UserForm_QueryClose(Cancel As Integer, CloseMode As Integer)
end
End Sub
---------------------------



(defun botsbuildbots() (botsbuildbots))
0 Likes
Message 3 of 4

Anonymous
Not applicable
Thanks so much ..that works....
0 Likes
Message 4 of 4

arcticad
Advisor
Advisor
Your Welcome 🙂
---------------------------



(defun botsbuildbots() (botsbuildbots))
0 Likes