Q
QB
I have a function in which I wish to use an input variable in conjunction
with Goto, but it generates an error. Can this done?
Function DoMyWorkForMe(sGoto as string)
Goto sGoto
Test:
Msgbox ""
End function
When I run DoMyWorkForMe("Test") and give me a label not defined ("Étiquette
non définie" - French PC). Is there a way to make this work or do I need to
change my basic concept for my function?
Thank you
QB
with Goto, but it generates an error. Can this done?
Function DoMyWorkForMe(sGoto as string)
Goto sGoto
Test:
Msgbox ""
End function
When I run DoMyWorkForMe("Test") and give me a label not defined ("Étiquette
non définie" - French PC). Is there a way to make this work or do I need to
change my basic concept for my function?
Thank you
QB