XLL+ Class Library

CreateBook Sample

Remarks

This project contains several macro functions which create workbooks, adds worksheets and populates them. It demonstrates the use of the CXlMacros class.

Functions used

CXlMacros
CXlMacros::NewDefaultWorkbook
CXlMacros::NewSingleSheetWorkbook
CXlMacros::Open
CXlMacros::WorkbookGetWorksheetNames
CXlMacros::WorkbookActivate
CXlMacros::WorkbookInsert
CXlMacros::GetActiveWorkbookName
CXlMacros::GetActiveWorksheetName
CXlMacros::WorkbookMove
CXlOper::MakeRef
CXlOper::SetValue

Project files

If you are using MS Developer Studio 6, then you should open the project file CreateBook.dsp.

If you are using MS Visual Studio .NET 2002, then you should open the solution file CreateBook.sln or the project file CreateBook.vcproj.

If you are using MS Visual Studio .NET 2003, then you should open the solution file CreateBook71.sln or the project file CreateBook71.vcproj.

If you are using MS Visual Studio 2005, then you should open the solution file CreateBook8.sln or the project file CreateBook8.vcproj.

See Also

List of Sample Projects | Samples and Walkthroughs