View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Bjarki Bjarki is offline
external usenet poster
 
Posts: 1
Default Right function disappeared

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.

--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/