J
John J.
I have some subs in which I have defined strings like this:
Dim str1, str2 as string
Now I notice that I get an ByRef-error when I want to use those strings as
arguments in another sub. I get no error if I declare explicitely per
variable.
Just curious, can someone explain why this is happening? Should I always
use:
Dim str1 as string
Dim str3 as string
Thank you,
John
Dim str1, str2 as string
Now I notice that I get an ByRef-error when I want to use those strings as
arguments in another sub. I get no error if I declare explicitely per
variable.
Just curious, can someone explain why this is happening? Should I always
use:
Dim str1 as string
Dim str3 as string
Thank you,
John