View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Gord Dibben Gord Dibben is offline
external usenet poster
 
Posts: 22,906
Default Conditional Format Based on Formula in Cell

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

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

CFFormula is: =IsFormula(cellref)


Gord Dibben MS Excel MVP

On Thu, 3 Sep 2009 09:48:08 -0700 (PDT), cardan
wrote:

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