I want to "Run" a procedure in my form by referencing the string that
represents the procedure.
I think Run is the right function to use however it throws me an error
that it can't find the procedure.
Example:
For the button on the form:
Private Sub cmdProcessList_Click()
RunProcedurefromString
End Sub
Public Sub RunProcedurefromString()
Run "TheProcedure" '<--This is where the error occurs
End Sub
Public Sub TheProcedure()
MsgBox "if this shows then Run is doing what I think it should",
vbOKOnly, "It Works!"
End Sub
Can anyone tell me what I'm doing wrong? And/or a better approach.
Thanks