2.2.4.9.25 DataRange::HasNamedRange

Description

Get the datarange's named range if exist.

Syntax

int HasNamedRange( string & strName, string * pComment = NULL )

Parameters

strName
[output]the name of the named range if exist
pComment
[input]try to return the comment of the named range if exist

Return

return the scope number if the named range exist, else return negative number

Examples

See RangeName Examples

Remark

See Also

Header to Include

origin.h