简体   繁体   中英

ExcelDna get Excel UI element

How can we retrieve the UI elements from the DNA file because I cannot seem to access to UI elements that are created inside the DNA file? I'm using Excel-Dna

Also :

What I would like to do is for a given cell I would like to get the values of the next N cells, but whenever I get the values of the cells I get an error saying 0x800A03EC. How can I get the values of a different than the current cell?

OK, so here's how things are looking with Excel-DNA, I assumed I cannot interact with the UI. The only way I can have any connection with it is using the event system.

I solved the error 0x800A03EC by just carefully debugging the COM objects and finding the right properites to extract the value from.

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM