I have a worksheet with many cells that contain formulas linked to other workbooks. I would like to apply conditional formatting to these cells. The formatting would be based on the contents of the formula, not the result that the formula returns.
I know how to apply conditional formatting. Where I'm stuck is coming up with a formula to identify the cells I want to format. For example what formula would select all cells containing a formula that includes the text string "Checkbook", so that formatting would be applied to the cell containing:
='C:\Users\abc42\Documents\Excel Workbooks\[Checkbook.xlsm]Balances'!$F$8
I thought I had a solution using a named range containing =FORMULATEXT(!A1), and the following formula in conditional formatting =ISNUMBER(SEARCH("Checkbook",GetFormula)). It works, but if I try to alter the formatting Excel often crashes. I suppose I could get it the way I want it and leave the formatting alone, but I would like a better solution. Excel 2016.
Bookmarks