I need to create a button on the worksheet, that will call function in my VSTO add-in. How I can achieve this?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Check out this helpful link:
http://vbadud.blogspot.com/2008/11/call-method-in-vsto-addin-from-visual.html
As it says, you need to make sure you have exposed it for external use. Once it is, the call from excel would look something like this: