I'm now tired of searching & googling for more that 4 days about this!
In my C#/VSTO Addin, I want to know when the user is about to add a new data to the current workbook, unlike the first 3 buttons (hilighted in blue), it doesn't seems that the buttons (hilighted in red) under gallery "From Other Sources" had corresponding idMso, since I want to get notified when one of them is clicked or at least subscribe to an excel event which will call my metod back,
So far, ONLY the 3rd "From XML Data Import" seems to have an event in excel which is ExcelApp.WorkbookAfterXmlImport , for the others, I can't find any..
I have read the ExcelRibbonControls.xlsx (for 2010 as well) without any chance?!
Any help on this?
Thanks in advance,
I think you searched at the right location - you just chose the wrong file . I had a look into the accessControls.xlsx
file and found these ids. I am confident you can use these idMso's!
You are talking about the gallery control with IdMso GetExternalDataFromOtherSources . You will not find IdMso values for the entries marked with red. Try to repurpose the gallery itself.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.