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

Glossary Item Box

QueryCustomName Method


See Also    DLL

Applies To

fpSpread control

Description

Returns the defined custom names.

Syntax

C++

CString CSpreadSheet::QueryCustomName (LPCTSTR Name);

Visual Basic

fpSpread.QueryCustomName(ByVal Name As String) As String

Parameters

The following parameter is available:

Parameter Description
Name Custom name

Remarks

You can define custom names to represent information in the control. For example, a custom name can represent a cell, a cell range, or a computed value. Use the SetCustomName method to define a custom name that can then be used in formulas. The name can be up to 255 characters long.

To return the first custom name, provide an empty string as the value of the Name parameter.

This method returns information for the entire workbook, including all sheets in the control.

Return Type

String

See Also

GetCustomName, SetCustomName methods

DLL Correspondence

SSQueryCustomName function

Copyright © GrapeCity, inc. All rights reserved.