valeri...@mclink.net
unread,Mar 28, 2012, 4:03:10 PM3/28/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Excel-DNA
Hello Govert,
I've successfully built and tested my Udf library.
Now a requirement of mine says: "users must use our custom Udfs only
from a custom excel file, the custom udf functions must not be
available from Excel in other ways".
So I decided to build a document-level addin in visualstudio (with
ribbons, action panes, etc... and also some variables that have to be
used as parameters in my udf functions).
In the debugging phase I double click the custom xls file (that loads
data from db and fills cells on sheet1) and then open (with file--
>Open...) the xll file. In this way my custom xls file loads its stuff
first, and then can access the udf functions.
Now the question is: how can I deploy to the end user this solution?
I think I will have to programmatically load the xll addin at the very
startup of the custom document, even before that the custom document
begin to load its own stuff, am I right?
Is it a correct approach?
If so, have you any example on how to load programmatically an xll
file?
But may be i'm thinking in a bad way the solution, and may be a single
xll with custom UI interfaces is the best way. Anyway, in this case I
still can't imagine how could I satisfy my requirement.
Another question not really related to the above words is: how can I
force a whole recalculation of the sheet?
Thanks in advance for your kindness
valerio