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/356845-cant-find-project-library.html)

salut

Can't find project or library
 
Hi,

I am running a macro that I wrote a year ago. I didn't make any changes. But
it dosen't work this time!

The problem is, for all the variables I haven't defined explicitly, it gave
me an error message "Can't find project or library". What's more, when I was
using function
"Right("Excel", 4)", it gave me the same error message! And Now I have to
write
"Strings.Right("Excel",4)" to clear the error.

Could anybody give me suggestions to solve this problem? Thanks a lot!


RB Smissaert

Can't find project or library
 
You have a missing reference.
In the VBE do Tools, References and you will see what it is.

RBS

"salut" wrote in message
...
Hi,

I am running a macro that I wrote a year ago. I didn't make any changes.
But
it dosen't work this time!

The problem is, for all the variables I haven't defined explicitly, it
gave
me an error message "Can't find project or library". What's more, when I
was
using function
"Right("Excel", 4)", it gave me the same error message! And Now I have to
write
"Strings.Right("Excel",4)" to clear the error.

Could anybody give me suggestions to solve this problem? Thanks a lot!




All times are GMT +1. The time now is 11:04 PM.

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