Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Troubleshooting
Research
Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

Compile Error

Avatar of GrahamSA
GrahamSAFlag for South Africa asked on
Microsoft Excel
7 Comments1 Solution379 ViewsLast Modified:
Hi Experts

I have macro that has been working perfectly, but when I moved the excel file to a new computer and tried to run it I get a compile error.

Here is the line that is in question:

 strDate = Format((Date), "dd MMM yyyy")

The error looks like this.
Compile Error
Cant find project or library

and the date is highlighted blue

Does anyone know why this is suddenly happening?