XLL+ Class Library

CallExcel Sample

Overview

This add-in uses the CXlFuncs and CXlMacros classes to call Excel worksheet and macro functions from an add-in function.

Functions used

CXlMacros
CXlMacros::ActiveCell
CXlMacros::EvaluateIntl
CXlMacros::Alert
CXlMacros::WorkbookInsert
CXlMacros::FormulaArrayIntl
CXlFuncs
CXlFuncs::Offset
CXlFuncs::Today
CXlFuncs::Year
CXlFuncs::Roman
CXlFuncs::CellAddress
CXlFuncs::CellCol
CXlFuncs::CellColor
CXlFuncs::CellContents
CXlFuncs::CellFileName
CXlFuncs::CellFormat
CXlFuncs::CellParentheses
CXlFuncs::CellPrefix
CXlFuncs::CellProtect
CXlFuncs::CellRow
CXlFuncs::CellType
CXlFuncs::CellWidth
CXlOper::MakeRef
CXlOper::SetValue
CXlOper::RetError
CXlOper::Ret

Project files

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

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

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

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

See Also

List of Sample Projects | Samples and Walkthroughs