J
Joshua
Hi -
I am parsing code from the MVPs site, and trying to write my own.
It seems that VBA is very forgiving in terms of variable declaration. I see
variables appearing in "For Each" and "Set" statements that never were
declared with a "Dim" statement. Is this acceptable? Are there any problems
with this?
I assume that variables declared implicitly in this way do not survive
beyond the local (sub)procedure. Is this correct?
Thanks
Joshua
I am parsing code from the MVPs site, and trying to write my own.
It seems that VBA is very forgiving in terms of variable declaration. I see
variables appearing in "For Each" and "Set" statements that never were
declared with a "Dim" statement. Is this acceptable? Are there any problems
with this?
I assume that variables declared implicitly in this way do not survive
beyond the local (sub)procedure. Is this correct?
Thanks
Joshua