Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 152
Default Remove "Missing" reference in VB-Tools-References

Short Explanation
--------------------
How do I remove a "Missing" reference in VB-Tools-Reference? I tried
un-checking, doesn't work with a msg the reference is 'in use, cannot
remove". I was using the ref earlier, but have deleted all my VB and control
ref's and still cannot uncheck the "Missing" ref. I've tried exiting and
restarting excel, still doesn't work.

Long Explanation
-------------------
I wanted to use a 3rd party 2d sketch package in excel via their *.ocx. I
registered the *.ocx file, added the reference in Excel and added the VB
functions to use the 3rd party package. It worked fine. I've now decided to
stop using the 3rd party package, replacing it with excel drawing functions,
this works ok on my original machine.

However, when I try to copy my excel workbook and addins to a new machine,
there is an error msg "cannot find project or library" during the startup
elsewhere in my vb. I think this is related to the "Missing" ref. I saw a
similar problem earlier on my original machine when the 3rd party *.ocx file
was not registered. I registered the *.ocx file on the original machine and
it worked ok.

Since I'm not using the 3rd party sw, I've deleted all references to the 3rd
party sw in my excel file and addins on the new machine. I still cannot
delete the "Missing" ref in VB editor. The new machine never had the 3rd
party sw installed. The VB - Tools - Ref comments for the 3rd party sw
points to the original machine.

I'm trying to get rid of the "cannot find project or library" errors from
elsewhere in my VB code, but I think the cause of the problem is the
"Missing" 3rd party ref.

thanks.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 152
Default Remove "Missing" reference in VB-Tools-References


I was unable to remove the "Missing" reference on my new machine which did
not have the 3rd party product installed. The "Missing" references
indirectly caused "cannot find project or library" errors elsewhere in my VB
code. I had to do the following:

- delete the excel workbook and addins from my new machine.

- go back to my original machine which had the 3rd party sw installed.
- remove all references in my VB code to the 3rd party sw.
- remove the VB - Tools reference to the 3rd party sw.
- remove the 3rd party addin.

- make another copy of my workbook and addins on my original machine.
- install the new copy on my new machine.
- the excel workbook and addins now work on my new machine now works.

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
Missing data and "invalid references" Jordlaw Charts and Charting in Excel 0 September 11th 07 02:20 PM
"References" Missing in Excel???? Bob Barnes Excel Discussion (Misc queries) 4 March 1st 07 09:06 PM
remove name of addin in Tools menu: "Document Project" Kate Excel Discussion (Misc queries) 2 January 9th 07 06:50 PM
Scroll Bar missing "Control" tab in "Format Properties" dialog box Peter Rooney Excel Discussion (Misc queries) 5 August 24th 06 05:36 PM
References.Remove References(1) DOES NOT WORK for "MISSING:" Refs Jamie Carper[_2_] Excel Programming 0 May 27th 04 04:22 PM


All times are GMT +1. The time now is 10:37 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"