c# - Excel add-in on startup -
i creating add in microsoft excel using visual c#. when first created solution, included function called thisaddin_startup. added following code function:
private void thisaddin_startup(object sender, system.eventargs e) { messagebox.show("startup"); }
the message box not show upon installing add in , starting microsoft excel. indeed, nothing in function works when add in loads. literally change i've made new project after first creating it. why won't work?
nothing magic , thisaddin_startup
called before executing messagebox.show
instruction.
you can use "find references" in visual studio, bring thisaddin.internalstartup()
, private method in thisaddin.cs
.
this method called framework's runtime.
did explanation help?
Comments
Post a Comment