ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Esc out of userforms (https://www.excelbanter.com/excel-programming/322242-esc-out-userforms.html)

Mark \(InWales\)[_23_]

Esc out of userforms
 
Dear All

How do I ESC out of a userform, no button clicks etc allowed!?

Any help as always from you guys greatly appreciated.

Mark (InWales)



Bob Phillips[_6_]

Esc out of userforms
 
Create a commandbutton, set the Cancel property of that button to True, and
havge some click code on that button that unloads the form.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Mark (InWales)" wrote in message
...
Dear All

How do I ESC out of a userform, no button clicks etc allowed!?

Any help as always from you guys greatly appreciated.

Mark (InWales)





Mark \(InWales\)[_24_]

Esc out of userforms
 
That's great Bob once again thank you very much for help.

Mark (InWales)

"Bob Phillips" wrote in message
...
Create a commandbutton, set the Cancel property of that button to True,
and
havge some click code on that button that unloads the form.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Mark (InWales)" wrote in message
...
Dear All

How do I ESC out of a userform, no button clicks etc allowed!?

Any help as always from you guys greatly appreciated.

Mark (InWales)








All times are GMT +1. The time now is 09:28 AM.

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