Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/keithalewis/xlltemplate

Template for Excel add-ins
https://github.com/keithalewis/xlltemplate

Last synced: 30 days ago
JSON representation

Template for Excel add-ins

Awesome Lists containing this project

README

        

# xlltemplate

Template for Excel add-ins

Fork or clone the repository. Set the `Configuration` (Debug or Release) and `Platform` (x86 or x64) and build the `xlltemplate` project.
The platform must be set to the appropriate version of Excel: x86 for 32-bit or x64 for 64-bit.

## Debugging

Set the configuration to `Debug|x86` if using 32-bit Excel or `Debug|x64` for 64-bit Excel.
Set breakpoints by clicking on the left boarder at the line you want to stop at, the hit `F5` to
build and start debugging.

## Documentation

Instantiate an `AddIn xai_anyname(Documentation(LR"(Documentation goes here)"));` object to create a
[Sandcastle Help File Builder](https://github.com/EWSoftware/SHFB) project file (`.shfbproj`) in the
Debug folder of your project. Put the `.chm` file it creates in the same location as the `.xll` add-in to
integrate with Excel's Insert Function [Help on this function](https://support.office.com/en-us/article/Insert-Function-74474114-7C7F-43F5-BEC3-096C56E2FB13).

## TODO

To create project template: Project|Export Template...

Create installer that adds a Tools|External Tools... To run cmd.exe /c %1 to be used with .bat files.