Not sure what you mean. Standard way to pass params is:
Code:
Sub Call_Function_Example()
dim myVar as string
myVar = Range("A1").text
Call thefunction(myVar)
End sub
Function theFunction(VariableTest) as string
'Do stuff with 'VariableTest' which will be = myVar
theFunction = Result
End Function
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.