Conditional Format Based on Formula in Cell

  • Thread starter Thread starter cardan
  • Start date Start date
C

cardan

Hello,

I have a problem that I think should be easy to solve but I am
clueless. I have a column of numbers. Some are hard coded and some
are formulas. I would like to conditionally format this column based
on whether or not the cell is a hard code or a formula. Is this easy
to do?

Any help would be greatly appreciated. Thank you

Dan
 
Copy/paste this UDF to general module in your workbook.

Function IsFormula(Cell)
IsFormula = Cell.HasFormula
End Function

CF>Formula is: =IsFormula(cellref)


Gord Dibben MS Excel MVP
 
Back
Top