Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Marco from XP not working in 97

I wrote a bunch of Macros on my machine that runs Office XP, made them
into an Add-In and sent it out to everyone. Now the people that have
Excel 97 are getting errors and can't run the Marcos. It seems that I
used constants that aren't in VBA 5 (I think that is what Excel 97
uses) and therefore when the constant is undefined it error out. How
can I correct this? Define all the constants I used? Or is there a
way to find out which aren't available in 97 and somehow replace them?
Any ideas would be great.

-Steve

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Marco from XP not working in 97

It is probably more than constants. It is probably arguments that aren't
available.

You would need to go to copy of excel 97 and run you macro, correcting the
errors as you encounter them. the usual advice is to always do your
development on the oldest version of Excel that will use the code.

--
Regards,
Tom Ogilvy

wrote in message
oups.com...
I wrote a bunch of Macros on my machine that runs Office XP, made them
into an Add-In and sent it out to everyone. Now the people that have
Excel 97 are getting errors and can't run the Marcos. It seems that I
used constants that aren't in VBA 5 (I think that is what Excel 97
uses) and therefore when the constant is undefined it error out. How
can I correct this? Define all the constants I used? Or is there a
way to find out which aren't available in 97 and somehow replace them?
Any ideas would be great.

-Steve



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
Marco Puzzled Excel Discussion (Misc queries) 3 July 30th 07 05:09 PM
Marco Help looper Excel Discussion (Misc queries) 2 May 12th 07 06:55 PM
Marco Loi New Users to Excel 4 December 7th 04 08:52 PM
Can it be done by marco? kaon[_5_] Excel Programming 1 June 28th 04 10:56 AM
Marco to run every day at 12 bris Excel Programming 6 March 3rd 04 01:07 PM


All times are GMT +1. The time now is 04:58 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"