PC Review


Reply
Thread Tools Rate Thread

2003-->2007 require variable declaration

 
 
=?Utf-8?B?TWlyaQ==?=
Guest
Posts: n/a
 
      7th Aug 2007
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.
 
Reply With Quote
 
 
 
 
Bob Phillips
Guest
Posts: n/a
 
      7th Aug 2007
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.



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Variable declaration in Excel 2007 Q Microsoft Excel Programming 3 31st Mar 2009 01:52 AM
variable declaration =?Utf-8?B?SmFuaXM=?= Microsoft Excel Programming 7 24th Jul 2007 01:46 AM
Variable Declaration Vasanth TT Microsoft C# .NET 6 17th May 2007 03:16 PM
variable declaration ? rJ Microsoft VB .NET 6 26th Jun 2006 11:34 AM
Re: Variable Declaration?? Tom Ogilvy Microsoft Excel Programming 1 8th Aug 2003 06:45 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:33 PM.