Get the name of sheet from its sheet ID
static CString GetSheetName( DWORD dwSheetId ); |
The sheet ID. This can be extracted from references, using CXlOper::GetSheetId().
The name of the sheet if successful, in "[book]sheet" format; an empty string if the sheet cannot be found.
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().
Header: xllplus.h
CXllApp Class | CXllApp Methods | CXllApp::MakeSheetName() | CXllApp::SplitSheetName()