Passing a variable to UserForm_activate() event
What exactly are you trying to do, in words?
--
---
HTH
Bob
(there's no email, no snail mail, but somewhere should be gmail in my addy)
"Beertje" wrote in message
...
I am trying to use one userform for different macro's.
i.e.:
Private Sub UserForm_activate(macro)
If macro="modA" then
Call modA
Else
if macro ="modB"
Call modB
Else
Call modC
endif
Endif
End Sub
Is this possible? Please adise how to since I cannot get it to work.
Thanks.
|