API Function Reference

Excel 2013 XLL SDK API Function Reference

Office 2013 and later

Last modified: April 19, 2012

Applies to: Excel 2013 | Office 2013 | Visual Studio

The Microsoft Excel 2013 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.

The Excel 2013 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.

© 2016 Microsoft