How can I control Excel Add-Ins from a C# Winforms application? -


i want control excel add-in c# windows forms application.

this have far:

var exceladdin = excelapp.addins.add("c:/.../nwpredict.xlam", type.missing); messagebox.show("predict: " + exceladdin.fullname); 

this code works, how start add-in , change settings?

if want permanently change settings of add-in need open file, not attach add-in running instance of excel. (this isn't done programmatically though.)

perhaps should clarify because, me, add-in supposed "complete". if settings need changed when add-in in use, add-in should make these settings available excel-instance, via exposed properties (or other technique). but, again, these settings wouldn't permanently saved (in add-in itself).


Comments

Popular posts from this blog

javascript - Count length of each class -

What design pattern is this code in Javascript? -

hadoop - Restrict secondarynamenode to be installed and run on any other node in the cluster -