It is no different in 2007 than in 2003, VBA hasn't really changed, just a
few additions to the object model.
Maybe you have somehow set the default, in Tools>Options>Editor (the Require
Variable Definition box).
--
HTH
Bob
(there's no email, no snail mail, but somewhere should be gmail in my addy)
"Miri" <(E-Mail Removed)> wrote in message
news:2325D203-57D0-432E-930D-(E-Mail Removed)...
> hi,
> my vb editor defined as non require variable declaration.
> the same code - in 2003 worked, but in 2007 i got an error related to
> variable not defined.if i define it is ok.
>
> do you have any idea what should i do? i have a lot of such cases.(maybe
> in
> 2007 there is another flag to define in addition to the require variable
> declaration?)
> thanks,
> --
> Miri Tz.
|