Excel 2010 XLL SDK API Function Reference

Applies to: Excel 2010 | Office 2010 | VBA | Visual Studio

The Microsoft Excel 2010 XLL SDK contains source files for a Framework library that is designed to speed up the writing of XLLs, and two sample projects, Example and Generic.

This section provides a function reference for the following:

  • Excel callbacks that the XLL can call.

  • XLL callbacks that Microsoft Excel looks for.

  • Key functions in the sample and framework projects.

Sample Projects

The Excel 2010 XLL SDK provides source files and Microsoft Visual Studio project files for the following sample projects:

  • The Framework project (SAMPLES\FRAMEWRK\) contains a project that can be built to a library, FRAMEWRK.lib, which can then be linked into other XLL projects. The library contains many functions and tools that make writing XLLs easier. This library is used in both of the other projects in conjunction with the header file FRAMEWRK.h.

  • The Example project (SAMPLES\EXAMPLE\) contains a project that can be built to an XLL, EXAMPLE.xll. The XLL contains many examples of the use of the Framework library, and example implementations of the XLL add-in interface functions such as xlAutoOpen.

  • The Generic project (SAMPLES\GENERIC\) contains a project that can be built to an XLL, GENERIC.xll. The XLL demonstrates several example functions and commands and is a good starting point for writing your own XLLs.

In This Section

Add-in Manager and XLL Interface Functions

C API Callback Functions Excel4, Excel12

Essential and Useful C API XLM Functions

C API Functions That Can Be Called Only from a DLL or XLL

Functions in the Framework Library

Functions in the Generic DLL

Excel Cluster Connector Functions

See Also

Concepts

Programming with the C API in Excel 2010

Developing Excel 2010 XLLs