frisbeenut
Member
I have in column D on a sheet titled "Budget", various references to a variety of different named ranges using the index function, similar to "=INDEX(GasBill, 3)" . Those named ranges are defined on a sheet titled "Bills". I would like to have a macro that when the active cell is in column D of the Budget sheet, and that active cell refers to a valid named range in its formula, I would like to have the macro change the font color to red in the current active cell on the "Budget" sheet, and change the font color to red in cell on "Bills" sheet that the formula refers to. (Note: in the "=INDEX(GasBill, 3)" formula, the 3 does not correspond to the third column on the Bills sheet.)
I would like this macro to be able toggle the font colors of those two cells in both the Budget and Bills sheets to red if the font color is black, or change to black if the font color is red. (If the Budget cell's index formula refers to named range that is not defined on the Bills sheet, then only highlight only the cell or cells on the Budget sheet.)
Lastly, it would be fantastic if this macro could work on a range of selected cells, and only gather the index formula's values from column D and highlight multiple index formula references. (and possibly work if the active cell is not in column D but entire rows on the Budget sheet are highlighted)
Thanks so much
I would like this macro to be able toggle the font colors of those two cells in both the Budget and Bills sheets to red if the font color is black, or change to black if the font color is red. (If the Budget cell's index formula refers to named range that is not defined on the Bills sheet, then only highlight only the cell or cells on the Budget sheet.)
Lastly, it would be fantastic if this macro could work on a range of selected cells, and only gather the index formula's values from column D and highlight multiple index formula references. (and possibly work if the active cell is not in column D but entire rows on the Budget sheet are highlighted)
Thanks so much