ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Command Button (https://www.excelbanter.com/excel-programming/306297-command-button.html)

Patty2005[_6_]

Command Button
 
I need help.I have a set of tasks to be performed after the values ar
filled in the userform.The userform has three command button and If
click on Cancel button then those tasks of updating the sheet shoul
not be performed and it should exit sub.How do I do this

--
Message posted from http://www.ExcelForum.com


ForSale[_25_]

Command Button
 
assuming that the Cancel button is CommandButton3:

Private Sub CommandButton3_Click()
Unload Me
End Su

--
Message posted from http://www.ExcelForum.com



All times are GMT +1. The time now is 08:43 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com