XLL+ Class Library (6.3)

CXllApp::GetSheetName

Get the name of sheet from its sheet ID

static CString GetSheetName(
   DWORD dwSheetId
);

Parameters

dwSheetId

The sheet ID. This can be extracted from references, using CXlOper::GetSheetId().

Return Value

The name of the sheet if successful, in "[book]sheet" format; an empty string if the sheet cannot be found.

Remarks

This function can be used to get the name of a sheet from its ID. The combined sheet name can be split using CXllApp::SplitSheetName().

Requirements

Header: xllplus.h

See Also

CXllApp Class | CXllApp Methods | CXllApp::MakeSheetName() | CXllApp::SplitSheetName()