G
Guest
I need to change which subroutine I call based on the user's input. Can I
save the name of the Sub in a variable? So far I've tried:
Dim MySub as string
MySub = "sLoadSNData"
Call MySub
No surprise this complains that "expected procedure, not variable". So
what's the syntax or best way to dynamically vary the subroutine called?
Thanks so much!
save the name of the Sub in a variable? So far I've tried:
Dim MySub as string
MySub = "sLoadSNData"
Call MySub
No surprise this complains that "expected procedure, not variable". So
what's the syntax or best way to dynamically vary the subroutine called?
Thanks so much!