Spread 8.0 Documentation
Example
Support Options

Glossary Item Box

Example


The following example determines whether the specified formula is valid.

C++

// Check if the formula is valid
if(m_Spread.IsFormulaValid(s)==False)
    MessageBox(NULL, s, "Invalid Formula", MB_OK);

Visual Basic

' Check if the formula is valid
If fpSpread1.IsFormulaValid(s) = False Then
MsgBox s, 48, "Invalid Formula"
End If

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.