Options for calling a subroutine

The Archn00b

Registered User.
Local time
Today, 08:17
Joined
Jun 26, 2013
Messages
76
Imagine I have two subrountines:

Code:
Private Sub DoSomething1()
[Do Something]
End Sub

Private Sub DoSomething2()
[Do Something]
End Sub

And this Declaration:

Code:
Dim str As String
str = 1

Is it possible to refer to/call one of these subroutines using something like this:

Code:
("DoSomething" & str)

Thanks!
 

Users who are viewing this thread

Back
Top Bottom