Form Hide and terminate
Hi,
I am trying to hide a VBA excel form and wrote a piece of code in userform_deactivate(). But the control is not passing through the deactivate. Can any one tell me why?? There is another way by using "unload me" and userform_terminate() but, i dont want to use this.
So, what i want to know, How to execute a piece of code when form hides.
Thanks
Johnson
|