Returns information about a sheet in a workbook
static int GetDocument( CXlOper& xloData, short int type_num, LPCTSTR name_text = 0 ); |
A reference to a CXlOper that will contain the desired data if the function succeeds.
Type_num is a number that specifies what type of cell information you want.
Name_text is the name of an open document.
Zero if the function has been called successfully; non-zero if the function could not be called. See Error codes for a list of return values.
See the Microsoft Excel on-line Help for full details about this function.
Header: xlfuncs.h