Spread 8.0 Documentation
EnumCustomCellType Method
Support Options
ActiveX Reference > ActiveX Methods > EnumCustomCellType Method

Glossary Item Box

EnumCustomCellType Method


See Also    DLL

Applies To

fpSpread control

Description

Returns the name of the next custom cell type.

Syntax

C++

BOOL CSpreadSheet::EnumCustomCellType(LPCTSTR PrevName, LPCTSTR Name);

Visual Basic

fpSpread.EnumCustomCellType(ByVal PrevName As String, ByVal Name As String)As Boolean

Parameters

The following parameters are available:

Parameter Description
PrevName Name of custom cell from which to start searching for next custom cell
Name Name of the next custom cell

Remarks

This method is applied to the entire workbook, including all sheets in the control.

To find the first custom cell name, call the EnumCustomCellType method and set the PrevName parameter to an empty string. The method then returns the name of the first custom cell as a string in the Name parameter. To find subsequent custom cell names, set the PrevName parameter to the last custom cell name returned by the Name parameter. Continue until the EnumCustomCellType method returns False, in which case the Name parameter returns an empty string.

Return Type

True if successful; otherwise, False.

See Also

Creating and Using Custom Functions

CustomFunction event

TypeCustomName,Type CustomStyle properties

AddCustomCellType, GetCustomCellType, RemoveCustomCellType methods

DLL Correspondence

SSEnumCustomCellType function

Copyright © GrapeCity, inc. All rights reserved.