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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top