What are the events get fired when Excel gets loaded with all shee

D

Dwipayan Das

Hi

i want to know all the events that is fired whn excel gets open with add-in
and all the sheets.

I want to fire a event on load of a Excel to serach wheather a sheet gets
loaded to a workbook or not and depening on the sheet i will have to fire a
event.

Can any body tell whn the event might be occur and i am doing in C#.

So please tell the codes in C# only.

Thanks

__Das
 
D

Dwipayan Das

Hi Bob your code is correct.

But i am creating a Excel add-in here in C#.When the addin gets loaded it
draws all the command bar buttons on the Command Bar and after loading the
Add-in completely it search for a Excel sheet (XMLSheet) on the current opend
workbook .If the sheet is found then it shows all the buttons on the command
bar button to the end user,other wise it will show only the parent button
(start) on the command bar.

Here tell me after loading the add-in on onstratupcomplete event how can i
fire the next event which will search for the sheet name xmlSheet.

I have tried it to fire on onstartupcomplete event but it is working for
excel default sheet sheet1 but not for my custom sheet xmlSheet.

Thanks

_-Das
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top