Conditional formatting and a formula for the name of the ACTIVE worksheet

RandomizerTX

New Member
Joined
Jul 4, 2014
Messages
33
Sorry for the wordy post, but I want to be clear.

Question - Part A: My workbook is slow because (I think) of a lot of conditional formatting (CF). Does CF recalculate on the fly on ALL worksheets? Or equivalently, if I'm working on SheetAAA, and SheetBBB has a ton of CF on it, does the CF on Sheet BBB slow Excel down while I'm working on SheetAAA?

If so, then...

Question - Part B: I want to turn off CF for all but the ACTIVE worksheet. That is to say, while I'm working on SheetAAA, I don't want the CF on SheetBBB to recalculate and slow me down. Can I do this?

Question - Part C: If it's possible to do what I need, then what's the best way?

Background: I have a back-of-house worksheet called Refs. One way to do what I need involves creating a cell on the Refs worksheet (let's name that cell ActiveSheetName) whose value is always the worksheet I have active at the moment. If I move from SheetAAA to SheetCCC, the value of ActiveSheetName should change from "SheetAAA" to "SheetCCC". Then, I can create CF on every worksheet that determines whether the value of ActiveSheetName is the same as the worksheet where the CF is defined. I can then set it to "Stop If True," which will shut down all the later CF rules on that sheet. Capeesh?

My search for a formula to return the name of the active worksheet leads me only to formulas that return the name of the worksheet on which the formula is entered, whether it's the active sheet or not.

BTW, I'm hesitant to use a user-defined function, because they slow Excel way down on their own.

Thanks in advance.
 
Last edited:

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.

Forum statistics

Threads
1,215,059
Messages
6,122,917
Members
449,093
Latest member
dbomb1414

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top