CGXFormulaSheet::DeleteRangeName

virtual BOOL DeleteRangeName(LPCTSTR name, CObject*& pUndoInfo, BOOL bCreateUndoInfo);

name

Points to the string with the range name

pUndoInfo

A reference to a CObject pointer. DeleteRangeName will allocate this object and store undo information into this object when bCreateUndoInfo is TRUE. This undo information can later be passed to SetRangeName.

bCreateUndoInfo

TRUE if undo information shall be created.

Return Value

TRUE if a range with the given name was found; FALSE otherwise.

Remarks

Deletes a named range from the range name list and creates undo information on demand. For all formulas that refer to the deleted range name the range name will be resolved prior deleting the name. pUndoInfo stores information about all those resolved range names so that they can later be restored again.

See Also

 CGXFormulaSheet::SetRangeName

CGXFormulaSheet

 Class Overview |  Class Members