Hi everyone, can anyone help edit this code so that it loops through specific named worksheets "A", "B", "C","D" in my workbook.
Thanks.
![]()
Please Login or Register to view this content.
Hi everyone, can anyone help edit this code so that it loops through specific named worksheets "A", "B", "C","D" in my workbook.
Thanks.
![]()
Please Login or Register to view this content.
Hi rocksan,
Are the error messages the result of existing formulas or have they been converted to values so it's just the text that's showing?
Robert
____________________________________________
Please ensure you mark your thread as Solved once it is. Click here to see how
If this post helps, please don't forget to say thanks by clicking the star icon in the bottom left-hand corner of my post
Hi Robert,
The formulas are used to do some calculation, sometimes the calculation divides by zero, thats why it results in the error. The N/A happens when the data itself is unavailable yet for calculation. Another sheets uses the calculated data, since the data is either #DIV/0 or #N/A, the whole formula fails. The macro is just a quick fix i need to clear those errors on corresponding sheets, I just want it to loop automatically, instead of finding and fixing the affected sheet manually.
OK so I'll assume the errors are the result of existing formula's, try this (initally on a copy of the workbook in case the results are not as expected):
HTH![]()
Please Login or Register to view this content.
Robert
The code works perfectly.
You're so helpful. Thank you very much Robert.
Thanks for the feedback and I'm glad we were able to solve the issue![]()
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks