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

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -