Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default 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

--
ZimF
-----------------------------------------------------------------------
ZimFL's Profile: http://www.excelforum.com/member.php...fo&userid=3721
View this thread: http://www.excelforum.com/showthread.php?threadid=56928

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default Excel 2000 VBA Application on Excel 2003

It would certainly help if you could indicate the exact error(s).
As it has been a recent concern, I guess you have a Rich Text Box in the XL
2000 version file ??

NickHK

"ZimFL" wrote in
message ...

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)


--
ZimFL
------------------------------------------------------------------------
ZimFL's Profile:

http://www.excelforum.com/member.php...o&userid=37211
View this thread: http://www.excelforum.com/showthread...hreadid=569283



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Excel 2000 VBA Application on Excel 2003


I know, I'll try to look at the error messages, but
it won't be until very late tomorrow night EDT.
I had planned on a 15 minute setup & install.
Once the error occurred, I had to get the older
version back up fast, & no time to do anything else.

No, the Excel 2000 application does not contain
a rich text box. There are about 10 forms. Most
have simple text boxes, command buttons, spin
buttons, combo boxes, & labels

--
ZimF
-----------------------------------------------------------------------
ZimFL's Profile: http://www.excelforum.com/member.php...fo&userid=3721
View this thread: http://www.excelforum.com/showthread.php?threadid=56928

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
Running Excel 2000 VBA Application on Excel 2003 Excel Worksheet Functions 0 August 8th 06 06:04 PM
Using Excel 2000 VBA Application on Excel 2003 Excel Worksheet Functions 0 August 8th 06 02:36 AM
Upgrade from Excel 2000 to Excel 2003 without MS Office 2003? brigida3 Excel Discussion (Misc queries) 1 January 22nd 06 05:13 PM
Excel 2003 crashes loading excel files created Excel 2000 Jeff Lewin Australia Excel Discussion (Misc queries) 0 June 27th 05 04:20 AM
How-To - Forwarding Excel 2000 events to .Net application Joel Foner Excel Programming 0 January 28th 04 11:34 PM


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