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.
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.
Instantiate an AddIn xai_anyname(Documentation(LR"(Documentation goes here)"));
object to create a
Sandcastle Help File Builder 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.
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.