XLL+ Class Library (6.3)

CXlMacros::GetWorkbook

Returns information about a workbook

static int GetWorkbook(
   CXlOper& xloData,
   short int type_num,
   LPCTSTR name_text = 0
);

Parameters

xloData

A reference to a CXlOper that will contain the desired data if the function succeeds.

type_num

Type_num is a number that specifies what type of information you want.

name_text

Name_text is the name of an open workbook. If omitted, the active workbook is used.

Return Value

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.

Remarks

See the Microsoft Excel on-line Help for full details about this function.

Requirements

Header: xlfuncs.h

See Also

CXlMacros Class | CXlMacros Methods