0
votes

I have developed the VSTO addin in c# and now i want to add event to SheetChanged,SheetSelectionChanged,WorkBookActivate, WorkBookDeactivate. How can I achieve this? Can I use the same Commandbar event to do this? Or is there any difference between the commandbars and VSTO event handlers?Please help me in this.

I am using .net 4.0 developing the addin for Office 2010. Please someone help me in this. Thanks in advance.

1

1 Answers

1
votes

If these events are available in VSTO directly why do you want to use the same through Commandbar?

Keep it simple and easy by using VSTO events if they are available. I believe they are same in underneath, VSTO been a managed wrapper on COM objects.