Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Macro in Different Versions of Excel

I have written a macro in Excel 2000 and while i try to run that macro
at 2002 or 2003, it is giving an error "Project or Library not Found",
is there any way solve this problem? Is that any option in reference
module which will work in any versions on Excel?

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default Macro in Different Versions of Excel

After the error, in the vbe, look in tools=references

If a reference is marked as MISSING, this is the problem. If it is a
standard office reference,then this would be unusual behavior - but I suspect
it won't be.

You need to remove the problematic reference back on the originating machine
and then test it again on the problematic machine.



"Valli" wrote:

I have written a macro in Excel 2000 and while i try to run that macro
at 2002 or 2003, it is giving an error "Project or Library not Found",
is there any way solve this problem? Is that any option in reference
module which will work in any versions on Excel?


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Macro in Different Versions of Excel


"Valli" wrote in message
ups.com...
I have written a macro in Excel 2000 and while i try to run that macro
at 2002 or 2003, it is giving an error "Project or Library not Found",
is there any way solve this problem? Is that any option in reference
module which will work in any versions on Excel?


Do you know what library causes the error?

MaC



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Macro in Different Versions of Excel


I guess Microsoft Office Library is giving error. If i uncheck that
then the macro is running. But i don't know which version of excel my
Client has, so i need to give a reference in the library to run in
every versions of excel.

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default Macro in Different Versions of Excel

You shouldn't need to.

You should be able to develop in xl2000 and run in later versions without
doing anything - so it sounds like you have done things you don't need to do.

--
Regards,
Tom Ogilvy



"Valli" wrote:


I guess Microsoft Office Library is giving error. If i uncheck that
then the macro is running. But i don't know which version of excel my
Client has, so i need to give a reference in the library to run in
every versions of excel.


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
help i want to use old vb macro(excel95)with later versions usf85[_2_] Excel Programming 1 May 2nd 06 06:53 PM
Macro compatibiltiy between XL versions [email protected] Excel Programming 1 April 18th 06 07:03 PM
Please include fonts from previous versions ('98) in new versions JJBQ Excel Discussion (Misc queries) 3 October 8th 05 07:19 PM
VBA Macro Versions ACFalcon Excel Programming 5 September 10th 05 02:56 AM
Need macro to work in 2000 and 2002 versions Fred Smith Excel Programming 4 February 7th 04 11:50 PM


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