Right function disappeared

B

Bjarki

Hi,

I have a fairly big VBA project that used to work like a dream, but
suddenly it's stopped recognizing the Right function. I have the following
statements:

strDate = CStr(Now())
strBO = Right(strDate, 2)

When I try to run the macro, Right is highlighted and I get a message
saying "Complie Error: Can't find project or library".

I wonder if it's in some reference I may have disabled or something.

Thanks for your consideration,
Bjarki.
 

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