Hi all,
I have two userforms open at the same time. And i want a particular code of the active userform to
First, unload itself. (Code: Unload Userform1)
Second, click a button in the second userform. (Userform2)
(Code: button1_Click)
But an error prompts, "Sub or Function not defined" when i try to run the entire code. 'Button1_Click' is highlighted. I tried changing button1's click event from private to public but still unable to work.
Any ideas?
excel2003
Shie Boon
Thanks
I have two userforms open at the same time. And i want a particular code of the active userform to
First, unload itself. (Code: Unload Userform1)
Second, click a button in the second userform. (Userform2)
(Code: button1_Click)
But an error prompts, "Sub or Function not defined" when i try to run the entire code. 'Button1_Click' is highlighted. I tried changing button1's click event from private to public but still unable to work.
Any ideas?
excel2003
Shie Boon
Thanks