I have a string variable that holds the name of a function.
I can run the function this way :
How can I run the function and pass a true for sit argument.
This line gives me Compile Error.
Thanks for any kind of advice.
I can run the function this way :
Code:
Sub test()
Action = "fEmergencies"
Run (Action)
End Sub
Function fEmergencies(Optional sit As Boolean = False, Optional Trigger As String = "frmSwitchBoard")
' Do something here
end Funcion
How can I run the function and pass a true for sit argument.
This line gives me Compile Error.
Code:
Sub test()
Action = "fEmergencies"
Run Action(True)
End Sub
Thanks for any kind of advice.