ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Can't find project or library (https://www.excelbanter.com/excel-programming/432328-cant-find-project-library.html)

Gerry[_4_]

Can't find project or library
 
I keep receiving ..... Can't find project or library on the following
line.

If Left$(UCase$(response), 1) = "D" Then

This macro works fine on other computers and had been working fine
until recently. What is missing on this computer?

TIA
Gerry

Dave Peterson

Can't find project or library
 
Open excel on the troublesome pc
Open your workbook
Go into the VBE
Select your project
Tools|References
Look for MISSING reference.

Uncheck that missing reference.

The missing reference may not (usually doesn't) have anything to do with the
line that caused the error.

If you're not using that reference, you can go back to your pc and remove it and
then redistribute the workbook.

If you're using that reference, you'll have more work to do for the troublesome
pc's.

Gerry wrote:

I keep receiving ..... Can't find project or library on the following
line.

If Left$(UCase$(response), 1) = "D" Then

This macro works fine on other computers and had been working fine
until recently. What is missing on this computer?

TIA
Gerry


--

Dave Peterson

ryguy7272

Can't find project or library
 
Take a look at this:
http://www.cpearson.com/excel/References.htm

HTH,
Ryan---

--
Ryan---
If this information was helpful, please indicate this by clicking ''Yes''.


"Dave Peterson" wrote:

Open excel on the troublesome pc
Open your workbook
Go into the VBE
Select your project
Tools|References
Look for MISSING reference.

Uncheck that missing reference.

The missing reference may not (usually doesn't) have anything to do with the
line that caused the error.

If you're not using that reference, you can go back to your pc and remove it and
then redistribute the workbook.

If you're using that reference, you'll have more work to do for the troublesome
pc's.

Gerry wrote:

I keep receiving ..... Can't find project or library on the following
line.

If Left$(UCase$(response), 1) = "D" Then

This macro works fine on other computers and had been working fine
until recently. What is missing on this computer?

TIA
Gerry


--

Dave Peterson


Gerry[_4_]

Can't find project or library
 
On Aug 12, 12:07*pm, Dave Peterson wrote:
Open excel on the troublesome pc
Open your workbook
Go into the VBE
Select your project
Tools|References
Look for MISSING reference.

Uncheck that missing reference. *

The missing reference may not (usually doesn't) have anything to do with the
line that caused the error.

If you're not using that reference, you can go back to your pc and remove it and
then redistribute the workbook.

If you're using that reference, you'll have more work to do for the troublesome
pc's.

Gerry wrote:

I keep receiving ..... Can't find project or library on the following
line.


If Left$(UCase$(response), 1) = "D" Then


This macro works fine on other computers and had been working fine
until recently. *What is missing on this computer?


TIA
Gerry


--

Dave Peterson


Thanks Dave, that did the trick!!


All times are GMT +1. The time now is 09:20 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com