I want to pass my input to other subs,something like:
Sub Search()
Inputbox myInput '~> this is the variable I want to pass
Call getInput '~> I want to pass the variable to this sub
End sub
Sub getInput()
if a = myInput '~> from sub Search()
DO something
End sub
I search for solution and read about ByVal or ByRef but i get confused where to put the variable, someone can help?