Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 62
Default 2003--2007 require variable declaration

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.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,593
Default 2003--2007 require variable declaration

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 ToolsOptionsEditor (the Require
Variable Definition box).

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"Miri" wrote in message
...
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
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
VBA - variable declaration Jeff Excel Discussion (Misc queries) 3 January 9th 08 12:45 PM
variable declaration Janis Excel Programming 7 July 24th 07 01:46 AM
External Variable Declaration ehntd[_3_] Excel Programming 1 October 29th 04 11:57 AM
Global variable declaration! aiyer[_12_] Excel Programming 3 April 13th 04 04:35 PM
Variable Declaration?? Tom Ogilvy Excel Programming 1 August 8th 03 06:45 PM


All times are GMT +1. The time now is 03:55 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"