Get a Range
[C++]
HRESULT OleGetRange(
LPCSTR pszWorkbook,
LPCSTR pszWorksheet,
const CXlRef& xlref,
LPDISPATCH* lpdisp
);
Name of the workbook.
Name of the worksheet.
Rectangular range reference
If the function is successful, a pointer to the Range object will be placed here. It is the responsibility of the caller to Release() it.
Header: xlpcom.h
CXllCom Class
| CXllCom Methods
| CXllCom::OleGetWorkbook()
| CXllCom::OleGetWorksheet()