Hi All,
I'm a student who really need help in this problem...what I need to do is to call/run/execute a subroutine using a varaible name from a subroutine.
Public Sub Main(ByVal subName as String)
Call subName ' subName may be contain the value AAA or BBB
End Sub
'===========================
Public Sub AAA()
'do something for AAA
End Sub
'===========================
Public Sub BBB()
'do something for BBB
End Sub
I searched the web by no luck of trying what they have suggested or I have not found the right syntax...Please help...thanks in advance...