I have created a multi-sheet workbook for a friend. Occasionally he has entered data into cells with formulas and thus destroyed the logic. I want to show him the error of his ways by formatting all cells with formulas in a distinctive way.
I have already provided his workbook with a UDF that returns TRUE if the cell it is applied to has a formula. I have tested the use of this UDF in a conditional formatting(UK spelling!) rule applied to specifically-selected cells.
It does work for me, BUT:
While I am eager to get answers to these question, I am also open to suggestions of doing it a simpler way.
I have already provided his workbook with a UDF that returns TRUE if the cell it is applied to has a formula. I have tested the use of this UDF in a conditional formatting(UK spelling!) rule applied to specifically-selected cells.
It does work for me, BUT:
- I am developing the application in Excel 2010, but it has to run in 2007 - will 2010 CF rules work the same in both?
- When data rows/columns are added to a sheet, the rule no longer applies globally - how can I select the whole worksheet even if its size and contents change?
- How can I copy such a rule from one worksheet to the whole workbook?
While I am eager to get answers to these question, I am also open to suggestions of doing it a simpler way.