Hello,
I want to call a sub as a variable. Is there anyone who knows how I
can do that ? See example below.
THIS DOESN'T WORK:
Dim strSub As String
strSub = "ShowMessageBox()
Call strSub
Private Sub ShowMessageBox()
MsgBox "Hello MessageBox"
End Sub
Steven - 31 Aug 2004 01:14 GMT
How about giving this a try.
Dim strSub As String
strSub = "ShowMessageBox"
Call strSub
Private Sub ShowMessageBox()
MsgBox "Hello MessageBox"
End Sub