Codematic Excel developers logo
Codematic spreadsheet-excel development image

Rapid Application Development / Advanced Excel Development

Products for Excel
Commercial Products:
  - Classic Ribbon
  - Alt-FileSearch
  - Password Remover
Spreadsheet Quality Products
Free Products
Excel Development
Excel Development Index
Excel VBA
- VBA IDE (editor)
- VBA Training
- VBA Best Practice
- VBA Performance
- COM Performance
- VBA Security
Excel and Databases
Excel and Pivot Tables
Excel Add-ins
Worksheet Functions
Excel and xlls
Excel (in)security
Excel testing
Excel and .net
Excel External Links
Excel Developer Types
Professional Excel Development
Excel 2007
Excel 2010
Excel Development Archive
Spreadsheet Services
Spreadsheet Development
Spreadsheet Migration
Spreadsheet Maintenance
Spreadsheet Review
Spreadsheet Management
Excel User Confs
Consultant Profile
Book Reviews
Site Map

Excel xll SDK Install

Whilst the xll features of Excel offer excellent functionality and superb performance, they are not for the faint hearted. Excel/VBA developers especially have trouble deciphering the documentation. Add in the need to use a different development environment and language and its easy to see why this powerful option is often rejected.

Xll Series Contents

(note this is a work in progress - more pages will be added and linked too as and when we have time to complete them to an acceptable level)

Installing the Excel Xll SDK for use with Visual Studio 2008 (C++ Express) (This page)


XLL SDK install instructions

Install VS2008 express

Download the Excel 2007 XLL SDK from MSDN (Use your favourite search engine as the location is not static)
Install Excel 2007 XLL SDK (anywhere) (run Excel2007XLLSDK.EXE and choose the install location)

Copy xlcall.h from the SDK \ include folder to the \include folder within Visual Studio
Copy xlcall32.lib from the SDK \ lib folder to the \lib folders within Visual Studio


The include path is
VSinstall\ VC\include
(Eg: C:\Program Files\Microsoft Visual Studio 9.0\VC\include)

The lib path is
VSinstall\ VC\lib
(Eg: C:\Program Files\Microsoft Visual Studio 9.0\VC\lib)

Destination (include)

Destination (lib):

Alternatively you can add settings to Visual Studio to find them in any location of your choice.

The SDK also includes some useful wrapper functions to make working with the C API slightly less painful. These are Framewrk.c and its header Framewrk.h (note the spelling). To make them easy to include in many different projects copy these two files from the SDK folder to the Visual studio \include folder too .

You can then use
#include "FRAMEWRK.H"
#include "FRAMEWRK.C"

Instead of the more laborious and fragile

#include "C:\2007 Office System Developer Resources\Excel2007XLLSDK\samples\framewrk\FRAMEWRK.H"

This approach also works with the Codematic xll wrapper generator.

The Codematic xll demo uses these framewrk files, the current version includes them in the xll project folder.This is fine for occasional use. If you will be writing lots of xlls follow the above approach to put them in the include folder.


For details of our custom xll development service please go here.

If you require any more information please get in touch.



Upcoming Events:

25 January 2012 - UK Excel Developer Conference - London

Products for sale:


Office 2007 FileSearch replacement logo

New information about the missing FileSearch feature in Office 2007 and details of our pragmatic solution (Current price GBP 30.00)


worksheet password remover logo

Instant Excel worksheet protection remover and password recovery (Current price GBP 15.00)

Classic Ribbon Tab

classic ribbon for office 2007 logo

Add Excel 97/2000/2002/2003 compatible menu structure to Excel 2007
(Current Price GBP 10.00)


Products coming soon:

Link Manager

(Find and control external links in Excel Workbooks)

Due by Q1 2111.

XLAnalyst Pro

(Excel VBA based spreadsheet auditing tool)

Due before the end of 2111.

This page was last reviewed on December 21, 2011

©Codematic Ltd 1999-2011