Hi Experts!

I am developing a userform with multiple controls mostly Text Boxes and Combo Boxes etc.
I can set KeyAscii function for each control to unload userform.
But
It is too lengthy and difficult to set Ascii function for every control.

I want
Is there any option to set this function shortly?

I shall be very thankful for help.

Thanks
Amir