ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Right function disappeared (https://www.excelbanter.com/excel-programming/271671-right-function-disappeared.html)

Bjarki

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/


All times are GMT +1. The time now is 05:25 AM.

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