ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Code for runnning macros created in XP in older excel versions (https://www.excelbanter.com/excel-programming/279630-code-runnning-macros-created-xp-older-excel-versions.html)

Tom

Code for runnning macros created in XP in older excel versions
 
Hi all,

When trying to run a macro, created in excel XP, on a pc
with excel 2000 installed, the macro will find codes that
are not recognized in the older excel versions and
therefore not finish running. Is there any (simple) coding
available to avoid these problems from happening? (So I
don't have to write the code again in excel 2000?

Thanks,
Tom


Don Guillett[_4_]

Code for runnning macros created in XP in older excel versions
 
I have a client that sends my wb to many users. Some have xl95. So, I have
xl95,xl97sr2 and xl2002 all on the same computer. I write the program using
xl95.

However, IF you know the difference, you can write to the version.
If versionwhatever then do this else do that

"Tom" wrote in message
...
Hi all,

When trying to run a macro, created in excel XP, on a pc
with excel 2000 installed, the macro will find codes that
are not recognized in the older excel versions and
therefore not finish running. Is there any (simple) coding
available to avoid these problems from happening? (So I
don't have to write the code again in excel 2000?

Thanks,
Tom





All times are GMT +1. The time now is 01:46 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com