Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default Problem running VBA 2000 code in Excel 2003

Hi,

I use Office 2003, and I am trying to run a set of procedures written
in Excel 2000. My understanding is that Excel 2003 should be able to
handle Excel 2000 code, but I am running into a lot of problems. For
instance, functions like "left" and "trim" do not work (for "left", I
get a compile error that says "Can't find project or library"). If I
write my own macro using "left" in a different workbook, it works
fine. Do I have to add additional references to the Excel 2000
workbook? Is there some sort of update I need to install? Any ideas?

Thanks!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 772
Default Problem running VBA 2000 code in Excel 2003

I remember this happening to me but it has been a while. If i remember
correctly you need to make sure that you are running the latest service pack
and check your references to make sure none are shown as missing. not 100%
sure but something similar worked.
--
-John
Please rate when your question is answered to help us and others know what
is helpful.


"Smurfette18" wrote:

Hi,

I use Office 2003, and I am trying to run a set of procedures written
in Excel 2000. My understanding is that Excel 2003 should be able to
handle Excel 2000 code, but I am running into a lot of problems. For
instance, functions like "left" and "trim" do not work (for "left", I
get a compile error that says "Can't find project or library"). If I
write my own macro using "left" in a different workbook, it works
fine. Do I have to add additional references to the Excel 2000
workbook? Is there some sort of update I need to install? Any ideas?

Thanks!

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 389
Default Problem running VBA 2000 code in Excel 2003

Check the VBE's Tools - References. MISSING references will have to be
unchecked or fixed depending on what they are.

--
Tim Zych
SF, CA

"Smurfette18" wrote in message
...
Hi,

I use Office 2003, and I am trying to run a set of procedures written
in Excel 2000. My understanding is that Excel 2003 should be able to
handle Excel 2000 code, but I am running into a lot of problems. For
instance, functions like "left" and "trim" do not work (for "left", I
get a compile error that says "Can't find project or library"). If I
write my own macro using "left" in a different workbook, it works
fine. Do I have to add additional references to the Excel 2000
workbook? Is there some sort of update I need to install? Any ideas?

Thanks!



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default Problem running VBA 2000 code in Excel 2003

Tim,

You were exactly right. I had a MISSING reference to Office Web
Componenets 9.0. When I fixed this, it worked fine. Thanks for your
help!

On Dec 14, 4:24 pm, "Tim Zych" <tzych@NOSp@mE@RTHLINKDOTNET wrote:
Check the VBE's Tools - References. MISSING references will have to be
unchecked or fixed depending on what they are.

--
Tim Zych
SF, CA

"Smurfette18" wrote in message

...



Hi,


I use Office 2003, and I am trying to run a set of procedures written
in Excel 2000. My understanding is that Excel 2003 should be able to
handle Excel 2000 code, but I am running into a lot of problems. For
instance, functions like "left" and "trim" do not work (for "left", I
get a compile error that says "Can't find project or library"). If I
write my own macro using "left" in a different workbook, it works
fine. Do I have to add additional references to the Excel 2000
workbook? Is there some sort of update I need to install? Any ideas?


Thanks!- Hide quoted text -


- Show quoted text -


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 ZimFL[_3_] Excel Programming 3 August 9th 06 07:55 AM
Running Excel 2000 VBA Application on Excel 2003 Excel Worksheet Functions 0 August 8th 06 06:04 PM
Anyone have troubles running 2003 macros in 2000 version of Excel Jim Excel Discussion (Misc queries) 0 April 19th 06 02:15 PM
Problem Running Code in Excel 2003 Mark Excel Programming 1 June 17th 05 12:45 AM
Userfrom code in written in Excel 2000 running in Excel 97 KimberlyC Excel Programming 1 February 11th 04 08:45 PM


All times are GMT +1. The time now is 08:48 PM.

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"