Thanks John,
I've deleted the previous code from the worksheet it was in, pasted your code into "This Workbook" and specified 3 sheets to start with, but it still seemed to be running on all the sheets, rather than just the specified ones.
Following jewelsharma's earlier comment, and basing it on your code, I've tried changing
to
. This seems to limit the code to the particular sheet (so thank you both of you), but now the macro stops at
(Run-time error 1004: Application-defined or object-defined error).
When I've been testing the code prior to this post, it seemed to stop here if there wasn't actually an inconsistent formula on the sheet, but as I have deliberately entered an alteration to the formula, I'm surprised this is error is occurring.... any thoughts?
Thanks,
Graham
Bookmarks