Hey everyone,
Long story short, I'm currently working on a project that necessitates constant switch between AUTO and MANUAL calculation mode (used to speed up data collecting on the web). And it works great for the most part, except when we have to stop a procedure midway through, since it only reverts back to AUTO calculation at the very end of the code. Personally, I'm fine with it, I just switch it back to AUTO by pressing a button on our sheets...but that's the kind of thing my partner easily forget.
So I'm trying to add a marker that would show what the current calculation mode is set on to all our pages' headers (which relatively look all the same). When Calculation mode is automatic, have "AUTO" displayed in cells on various sheets. When Calculation mode is manual, have "MANUAL" displayed in the same cells.
I'm just not entirely sure how to write it. For one, I've never wrote any VBA that's not activated by a button. I'm guessing somekind of OnEvent in the ThisWorkbook tab...but I took a look at the list in the second box and couldn't see anything that would initiate the procedure on an Application.Calculation change. Or maybe I'm just not thinking about it the right way at all.
Any gentle soul have something to get me started ?
The somewhat VBA-newbie in me would be very grateful.![]()
Bookmarks