Hi Chad,
Excel-DNA only makes Excel add-ins.
With the right settings, your add-in and dependencies can usually be packed into a single .xll file (actually one .xll file for 32-bit and one for 64-bit Excel).
This file can be copied anywhere on the user’s machine and opened from Excel with File -> Open or installed as an add-in by opening the Alt+t, i dialog box in Excel.
You can make a whole installer for the add-in, but this is not required, and admin permissions are not required to install it.
Excel .xll add-in files are not associated with a specific workbook.
If you have a template workbook(s) that the add-in is associated with, you could embed these as resources in your library and extract and use them at runtime.
So for some cases you can see the whole .xll add-in as just replacing the workbook which you’d send around without issues.
I’ve heard of users who have taken other approaches.
One is to have a workbook with some VBA code that check when opened and copies or downloads the add-in file and installs it if required.
Or they have written VBA code where the add-in is embedded inside a workbook (I think as a CustomXML part) and then extracted and installed at runtime.
I don’t have code or an example of these, though.
-Govert
--
You received this message because you are subscribed to the Google Groups "Excel-DNA" group.
To unsubscribe from this group and stop receiving emails from it, send an email to exceldna+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/exceldna/7a3081df-83e2-4760-b17a-bd3b0b6c5846n%40googlegroups.com.
"If you have a template workbook(s) that the add-in is associated with, you could embed these as resources in your library and extract and use them at runtime."
if i can somehow embed an XLL file inside the template and distribute without issues this would be the way to go. Do you have any links or info?
FYI, i have created XLL Addins using Excel DNA, i'm just a little unsure of hwo to actaully "embed" this into my template excel file?
Thanks for the good work.