I dont think that you have understand what i want...
I have the main function with an if.
if test = true then
code
End if
My function is the test, so:
Public sub Test ()
I want to give the value of true or false here in way to pass it to the if... any ideia?
End sub
Do exactly what Hughg suggested. change the Public Sub Test into a Public Funtion Test As Boolean and then use the word Test in your If-Then statement. It will automatically call the function. - Jeff Marler B-)
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.