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:

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

Enter the same formula into worksheets and copy it down using VBA

Avatar of Andreas Hermle
Andreas HermleFlag for Germany asked on
Microsoft OfficeMicrosoft ExcelVBA
9 Comments1 Solution86 ViewsLast Modified:
Dear Experts:

I would like to enter the following formula into M5 of all the worksheets of the active workbook:


The following requirements have to be regarded

Requirement 1: macro is to skip the following worksheets

Requirement 2: the filled in formula '=IF(A5<>SUM(E5:G5);"Caution!";"ok")' is to be copied down, based on the last filled cell in the adjacent column L

Help is much appreciated. Thank you very much in advance.

Regards, Andreas
Avatar of Shums
ShumsFlag of United Arab Emirates imageExcel VBA Developer
This problem has been solved!
Unlock 1 Answer and 9 Comments.
See Answers