Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default reference missing?

someone just described the following problem to me. I'm wondering if anyone
has seen this before and knows how to fix?

An excel (not sure which version) file which uses some VBA code was running
happily on a windows98 machine. The machine was upgraded from windows98 to
windows2000. Now the file gets an error about not being able to find one of
those library files referenced? not sure wich one, as I said the problem was
described to me so I can't look again or get more details. When looking at
the references she said it displayed it was looking for it under
c:\windows\system32\.. There is no 'windows' directory in windows2000, its
c:\winnt\system32 by default. She said she created a c:\windows\system32
directory and copied the file it was looking for there but that did not
help. The error referenced the Trim() function... so its the library that
that is from.

any ideas?


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default reference missing?

After you experience the error

go into the VBE

make this workbook the active project before you do that (not
activeworkbook in excel, but the active project in the vBE)

Then from the menu select Tools = References

in tools=references you should see at least on reference shown as MISSING

unselect it if not needed or click on it and use the browse button to find
it in win 2000 (go to the Winnt hierarchy - don't go to the copy she made).

--
Regards,
Tom Ogilvy





"djc" wrote in message
...
someone just described the following problem to me. I'm wondering if

anyone
has seen this before and knows how to fix?

An excel (not sure which version) file which uses some VBA code was

running
happily on a windows98 machine. The machine was upgraded from windows98 to
windows2000. Now the file gets an error about not being able to find one

of
those library files referenced? not sure wich one, as I said the problem

was
described to me so I can't look again or get more details. When looking at
the references she said it displayed it was looking for it under
c:\windows\system32\.. There is no 'windows' directory in windows2000, its
c:\winnt\system32 by default. She said she created a c:\windows\system32
directory and copied the file it was looking for there but that did not
help. The error referenced the Trim() function... so its the library that
that is from.

any ideas?




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
How do I delete a missing reference to a Macro Trevor W Excel Discussion (Misc queries) 3 July 16th 08 10:07 PM
INDEX - MATCH - VLOOKUP - returning missing reference njuneardave Excel Discussion (Misc queries) 2 June 27th 06 07:44 PM
A missing reference, maybe? The parawon Excel Worksheet Functions 3 February 15th 05 12:51 PM
Missing Reference in Excel 2003 Dirk Franke Excel Discussion (Misc queries) 5 January 26th 05 01:24 PM
Missing Reference Steve Sergev Excel Programming 1 November 15th 03 11:27 AM


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