FORMULAEXISTS Function [Visio 2003 SDK Documentation]
Indicates whether the referenced cell contains a formula.
FORMULAEXISTS (cellref)
cellref The cell that you want to check for the presence of a formula.
Remarks
The FORMULAEXISTS function returns 1 if the cell contains a formula; otherwise, it returns zero (0) if it does not contain a formula.