Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Compilation Error <Can't Find Project Library>

Status
Not open for further replies.

sabascal

IS-IT--Management
Aug 20, 2002
85
0
0
GB
Hi,

I just wrote a very simple code that works on certain computers, but that triggers here above compilation errors on some others.

When trying to fix the problem, it appeared that it was coming from the fact that not all the variables used were declared [ i.e even for simple loops variables].

Any idea of what setting (VBA ?) options needs to be changed on the computer on which I have errors?

many thanks in advance

Seb
 
Maybe a version issue, or a faulty installation. This happens whenever any of the references cannot be found. It just misleadingly displays an error on a function from the first library in the list (VB) when it is missing any one of the libraries. On the erroring machine, go into the VBE and select Tools | References from the menu bar. Find the one marked MISSING, remove it and browse to find the correct one.

MS also suggests a possible macro virus problem:

________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first.
'If we're supposed to work in Hex, why have we only got A fingers?'
Drive a Steam Roller
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top