Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 623
Default Need macro to work in 2000 and 2002 versions

I'm developing macros on a computer with Excel XP (2002). They will need to
run on computers which have only Excel 2000.

When I record macros, sometimes I get statements that only work in XP. Is
there any switch I can set to tell Excel to dumb down its code generated to
the 2000 version?

--
Thanks,
Fred
Please reply to newsgroup, not e-mail



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,080
Default Need macro to work in 2000 and 2002 versions

If you record your macros in 2002, they will work for both versions. You
always want to develop in the lower version.

--

Vasant

"Fred Smith" wrote in message
...
I'm developing macros on a computer with Excel XP (2002). They will need

to
run on computers which have only Excel 2000.

When I record macros, sometimes I get statements that only work in XP. Is
there any switch I can set to tell Excel to dumb down its code generated

to
the 2000 version?

--
Thanks,
Fred
Please reply to newsgroup, not e-mail





  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,979
Default Need macro to work in 2000 and 2002 versions

I think Vasant meant to say:

If you record your macros in 2000,


Vasant Nanavati wrote:
If you record your macros in 2002, they will work for both versions. You
always want to develop in the lower version.



--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Need macro to work in 2000 and 2002 versions

Obviously Vasant meant to record them in xl2000. There is no way to dumb
them down except if you do it yourself by testing them in xl2000 and compare
the argument list in the help to what you have when an error is raised.
There is no record in compatibility mode specifying xl2000.

--
Regards,
Tom Ogilvy


Vasant Nanavati <vasantn *AT* aol *DOT* com wrote in message
...
If you record your macros in 2002, they will work for both versions. You
always want to develop in the lower version.

--

Vasant

"Fred Smith" wrote in message
...
I'm developing macros on a computer with Excel XP (2002). They will need

to
run on computers which have only Excel 2000.

When I record macros, sometimes I get statements that only work in XP.

Is
there any switch I can set to tell Excel to dumb down its code generated

to
the 2000 version?

--
Thanks,
Fred
Please reply to newsgroup, not e-mail







  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,080
Default Need macro to work in 2000 and 2002 versions

Thanks for the timely correction, Deb and Tom!

Regards,

Vasant.

"Tom Ogilvy" wrote in message
...
Obviously Vasant meant to record them in xl2000. There is no way to dumb
them down except if you do it yourself by testing them in xl2000 and

compare
the argument list in the help to what you have when an error is raised.
There is no record in compatibility mode specifying xl2000.

--
Regards,
Tom Ogilvy


Vasant Nanavati <vasantn *AT* aol *DOT* com wrote in message
...
If you record your macros in 2002, they will work for both versions. You
always want to develop in the lower version.

--

Vasant

"Fred Smith" wrote in message
...
I'm developing macros on a computer with Excel XP (2002). They will

need
to
run on computers which have only Excel 2000.

When I record macros, sometimes I get statements that only work in XP.

Is
there any switch I can set to tell Excel to dumb down its code

generated
to
the 2000 version?

--
Thanks,
Fred
Please reply to newsgroup, not e-mail









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
will macro created in excell 2003 work if run using 2000 Michael Soares Excel Discussion (Misc queries) 2 September 11th 06 05:34 PM
Excel 2002 compatibility with earlier versions tomhelle Excel Discussion (Misc queries) 1 April 26th 05 02:17 PM
How do I update Excel 2000 macros to work in Excel 2002? BobPetrich Excel Discussion (Misc queries) 3 January 4th 05 04:06 PM
Macro: Excel 2000 does not work, XP does... Martin Eckart Excel Programming 5 February 2nd 04 09:56 PM
Solver won't work in macro, Excel 2002 SP1 Martin[_11_] Excel Programming 0 November 7th 03 07:03 PM


All times are GMT +1. The time now is 11:37 PM.

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

About Us

"It's about Microsoft Excel"