G
gatarossi
Dear all,
In my VBA project I have a lot of codes...
But I want that in one code create a variable to use in another code.
For example:
sub code_1()
dim x as variant
set x = 10
end sub
sub code_2()
for i = x
..
..
..
end sub
How can I do this? And what I need to do for update de variable?
Thanks a lot!!!
André.
In my VBA project I have a lot of codes...
But I want that in one code create a variable to use in another code.
For example:
sub code_1()
dim x as variant
set x = 10
end sub
sub code_2()
for i = x
..
..
..
end sub
How can I do this? And what I need to do for update de variable?
Thanks a lot!!!
André.