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

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:

=IF(A5<>SUM(E5:G5);"Caution!";"ok")

The following requirements have to be regarded

Requirement 1: macro is to skip the following worksheets
1_Index
2_Results
3_Overall_List
X_Data
Y_Requirements
Z_Miscellaneous

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
ASKER CERTIFIED SOLUTION
Avatar of Shums
ShumsFlag of United Arab Emirates imageExcel VBA Developer
Commented:
This problem has been solved!
Unlock 1 Answer and 9 Comments.
See Answers