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

G

Guest

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
 

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

Top