Can't Find Project or Library

A

Alectrical

I have a line in a macro as follows:

Sheets("Chrono").[A1] = Format ((Timer() - Depart) / 3600 / 24, "hh:mm:ss")

When I try to run the macro I get the following error message:

Compile Error: Can't find project or library.

I have had this macro working on another computer, any ideas.

Thanks
Alec
 
D

Dave Peterson

With that project active, click on Tools|References.

Look for a reference marked MISSING. You'll have to decide if you need to
replace it or just uncheck it.


I have a line in a macro as follows:

Sheets("Chrono").[A1] = Format ((Timer() - Depart) / 3600 / 24, "hh:mm:ss")

When I try to run the macro I get the following error message:

Compile Error: Can't find project or library.

I have had this macro working on another computer, any ideas.

Thanks
Alec
 
A

Alectrical

Thanks Dave

That works great.

Best Regards
Alec

Dave Peterson said:
With that project active, click on Tools|References.

Look for a reference marked MISSING. You'll have to decide if you need to
replace it or just uncheck it.


I have a line in a macro as follows:

Sheets("Chrono").[A1] = Format ((Timer() - Depart) / 3600 / 24, "hh:mm:ss")

When I try to run the macro I get the following error message:

Compile Error: Can't find project or library.

I have had this macro working on another computer, any ideas.

Thanks
Alec
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top