Hi.
I'm getting a little confused. Should I be able to run a Sub using a variable.
i.e.
Sub SomeThing()
Call SomethingElse("etc", "MYSUB")
End Sub
Function SomethingElse(str1 As String, str2 As String)
some code = str1
str2
End Function
Hope that sort of makes sense but the str2 is where i want another sub called
At the moment i get a Complie error: Expected Sub, Function, or Property.
I'm getting a little confused. Should I be able to run a Sub using a variable.
i.e.
Sub SomeThing()
Call SomethingElse("etc", "MYSUB")
End Sub
Function SomethingElse(str1 As String, str2 As String)
some code = str1
str2
End Function
Hope that sort of makes sense but the str2 is where i want another sub called
At the moment i get a Complie error: Expected Sub, Function, or Property.