Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default How can i create a macro in excel 2003 that will work in Excel 20.

I have an Excel 2003 spreadsheet which i have been creating to automate some
processes for some users. It has come to my attention that most of these
users are running Excel 2002 and after testing the Microsoft Excel 11.0
Object library is not present on the 2002 version of Excel. I need to ensure
that the Microsoft Excel 10.0 Object library is being used. I need to change
the reference libraries within excel in order to do this. If there is any way
that this can be done quickly. I am only aware so far that i will need both
versions of Excel on my machine to change which reference library to use.

If you need any additional information please let me know.
.

Thank you.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default How can i create a macro in excel 2003 that will work in Excel 20.

Hi
maybe use late binding. See:
http://www.xldynamic.com/source/xld.EarlyLate.html

"cg084" wrote:

I have an Excel 2003 spreadsheet which i have been creating to automate some
processes for some users. It has come to my attention that most of these
users are running Excel 2002 and after testing the Microsoft Excel 11.0
Object library is not present on the 2002 version of Excel. I need to ensure
that the Microsoft Excel 10.0 Object library is being used. I need to change
the reference libraries within excel in order to do this. If there is any way
that this can be done quickly. I am only aware so far that i will need both
versions of Excel on my machine to change which reference library to use.

If you need any additional information please let me know.
.

Thank you.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default How can i create a macro in excel 2003 that will work in Excel 20.

Each excel version uses its own version of the libraries. If you open a
file with xl10 references in xl11, they will be changed to xl11 references I
believe. You should write your code in the lowest version of excel that
will run the code.



--
Regards,
Tom Ogilvy

"cg084" wrote in message
...
I have an Excel 2003 spreadsheet which i have been creating to automate

some
processes for some users. It has come to my attention that most of these
users are running Excel 2002 and after testing the Microsoft Excel 11.0
Object library is not present on the 2002 version of Excel. I need to

ensure
that the Microsoft Excel 10.0 Object library is being used. I need to

change
the reference libraries within excel in order to do this. If there is any

way
that this can be done quickly. I am only aware so far that i will need

both
versions of Excel on my machine to change which reference library to use.

If you need any additional information please let me know.
.

Thank you.



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
Excel 2003 help doesn't work. I got both Excel 2003 and 2007 insta Kenneth Andersen Excel Discussion (Misc queries) 0 February 16th 10 10:44 AM
SUMIF formula works in Excel 2003, does not work in Excel 2007 Harry Excel Discussion (Misc queries) 3 April 24th 09 02:33 PM
macro from excel 97 that doesnt work in excel 2003 (help) [email protected] Excel Discussion (Misc queries) 2 May 16th 06 03:01 PM
Macro doesn't work in Excel 2003 (Con't) Polly[_3_] Excel Programming 3 June 12th 04 01:53 AM
Macro doesn't work in Excel 2003 Polly[_3_] Excel Programming 1 June 9th 04 05:56 AM


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