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