A function to indicate whether a cell contains formula or value?

D

Dave T

Is there a function to return logical indication of whether a cell contains
formula or value? Need it for conditional cell formating.
 
G

Gord Dibben

With a User Defined Function such as

Function IsFormula(cell)
Application.Volatile
IsFormula = cell.HasFormula
End Function


Gord Dibben MS Excel MVP
 
Top