TheRobster
Dec 26th, 2004, 03:44 AM
I've seen rerefernce to the VBA function Unload.Me but I'm unsure what this does. I am guessing that it's a generic command for unloading userforms, so that you don't have to use a specific reference to the name of the userform (dialog box) that is currently active if you want to unload it.
E.g. if you have two userforms that were created from a template, you could have on the template a Cancel button and just have the same code for all copies of that templete e.g. have Unload.Me as the event handler code for all subsequent Cancel buttons.
Is this how the Unload.Me function works or am I barking up the wrong tree here?
Cheers
-Rob
E.g. if you have two userforms that were created from a template, you could have on the template a Cancel button and just have the same code for all copies of that templete e.g. have Unload.Me as the event handler code for all subsequent Cancel buttons.
Is this how the Unload.Me function works or am I barking up the wrong tree here?
Cheers
-Rob