Originally Posted by
troygeri
OK that did fix it... thankjs
Only remaining issue is I have is, user presses button that runs another macro (call it parent macro), parent executes this qualitycheck macro first, and then calls and runs remaining macros. If running your qualitycheck macro detects a problem, I want it to stop the remaining macros from running, pressing OK on the Msg Box should result in user being sent back into the worksheet where they will see the highlighted cell with the error
You mean it’s fixed by deleting the line?
Well, you need to find a way to clear the range before running the macro, otherwise if you run it for the second round then the highlighted cell (from the first run) is still there so it will distort the result.
Try changing the line with this:
I don’t quite understand your macro set up, but basically you need put my macro inside your macro (that runs by hitting a button) & you need to put it above the existing lines of your macro.
Bookmarks