A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Using Excel 2000 VBA Application on Excel 2003



 
 
Thread Tools Display Modes
  #1  
Old August 8th, 2006, 02:36 AM posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: n/a
Default Using Excel 2000 VBA Application on Excel 2003

I have a VBA application written in Excel 2000. The appl contains several
forms and custom menus.

I tried running the appl on Excel 2003, but got errors.

(I can't remember exactly what the errors read, but Excel 2003 gave me
warning messages saying it didn't recognize some components or code. And,
the code would not compile.)

I can run an earlier version of the same Excel 2000 VBA appl on the same
Excel 2003 PC with no problems. But this earlier version has no forms and
no custom menus, just macros & custom functions.

I believe the problem is the Excel 2003 object libraries are different from
the Excel 2000 object libraries. And, I'll need to set references in Excel
2003 to the Excel 2000 object libraries.

These are the libraries I suspect that I have to set references for:
- Microsoft Office 9.0 Object Library (MSO9.DLL)
- Microsoft Excel 9.0 Object Library (Excel9.OLB)

(If they are even listed in Excel 2003. I didn't look, and the PC is at a
different location. I'll be trying to get the appl working on Wed, Aug 9.
But, I'll be at that other location tomorrow, Tue, Aug 8th, and will have
some brief time available on that Excel 2003 PC.)

Am I barking up the right tree, or just howling at the moon?

Any confirmation, hints, traps, or other possibilities would be appreciated.


Also, these are the object libraries that are referenced in Excel 2000 where
the appl was developed:

Visual Basic For Applications (VBE6.DLL)
Microsoft Excel 9.0 Object Library (Excel9.OLB)
OLE Automation (stdole2.tlb)
Microsoft Forms 2.0 Object Library (FM20.DLL)
Microsoft Office 9.0 Object Library (MSO9.DLL)


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 02:53 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.