A standalone Excel XLL add-in built with ZigXLL.
Once loaded (double click the built .xll - see below), you can use the custom functions in any Excel spreadsheet:
=dblit(42)
This will return 84 (doubles the input number).
If starting from scratch you will need to fetch to get the hash and add that to your build.zig.zon. This has already been done for this repo.
zig fetch https://github.com/alexjreid/zigxll/archive/refs/tags/v0.2.4.tar.gzzig buildThe XLL will be output to zig-out/lib/standalone.xll.
Add your Excel functions to src/functions.zig using the function in that file as a guide.
- Go to the Actions tab and click on the latest successful workflow run
- Scroll down to the very bottom and download the zigxll-standalone artifact
- Extract the XLL file from the zip to a safe location - desktop works
- You will need to unblock it. More info: https://support.microsoft.com/en-gb/topic/excel-is-blocking-untrusted-xll-add-ins-by-default-1e3752e2-1177-4444-a807-7b700266a6fb
- Double-click
standalone.xllto load it into Excel