Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
UserForms
Hi All,
I have userform1 and userform2 normally userform2 is activated by clicking commandbutton1 in userform1 and when userform2 closed userform1 is activated againd. now if i want to activate useform2 independadly how i can identify whether it was called from userform1 or not. so if it is not activated from userform1 then when i close userform2 it will not show userform1 TIA Soniya |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
UserForms
Hi Son iya,
Create a public variable in the userform and set that before showing indicating where activated from. Userform2.pCaller = "Proc myMacro" Userform2.Show -- HTH Bob Phillips ... looking out across Poole Harbour to the Purbecks (remove nothere from the email address if mailing direct) "soniya" wrote in message ... Hi All, I have userform1 and userform2 normally userform2 is activated by clicking commandbutton1 in userform1 and when userform2 closed userform1 is activated againd. now if i want to activate useform2 independadly how i can identify whether it was called from userform1 or not. so if it is not activated from userform1 then when i close userform2 it will not show userform1 TIA Soniya |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Help with Userforms | Excel Discussion (Misc queries) | |||
I need some help with userforms | Charts and Charting in Excel | |||
I need some help with userforms | Excel Discussion (Misc queries) | |||
userforms | Excel Programming | |||
userforms | Excel Programming |