J
Jason Hartsoe
I have a sub routine that's passing in a variable. I need to take that
variable and store it globally...but here's what's happening.
ex: I'm executing my routine: doMyThing(path, "test")
I'm executing that command at least 10 times replacing the word test with my
next object. When im receving that variable:
Sub doMyThing(ByVal Path As String, ByVal other As String)
I can use my variable...now how can I take that variable from this sub and
pass it to another sub? Is there a way to store that variable or set during
each call of doMyThing? Does that make sense? lol
Basically I want to store it and change it during each call...i'm doing some
async stuff and need it to change each time it's called....
thanks!
variable and store it globally...but here's what's happening.
ex: I'm executing my routine: doMyThing(path, "test")
I'm executing that command at least 10 times replacing the word test with my
next object. When im receving that variable:
Sub doMyThing(ByVal Path As String, ByVal other As String)
I can use my variable...now how can I take that variable from this sub and
pass it to another sub? Is there a way to store that variable or set during
each call of doMyThing? Does that make sense? lol
Basically I want to store it and change it during each call...i'm doing some
async stuff and need it to change each time it's called....
thanks!