How to get/set value to the Range by C API

54 views
Skip to first unread message

Duyet Le

unread,
Jul 20, 2022, 10:47:05 PM7/20/22
to Excel-DNA
Dear All,
I have read some code regarding get & set value to the Range by using C API but I am not fully understand. As I knew that by using C API the speed is better than using COM.
Anyone can give me some example about this.

I write add-in that will get the value from Range and put into the grid of windows form and after do some calculation then write it back to the Range.

Thanks,

Duyet Le

Govert van Drimmelen

unread,
Jul 21, 2022, 5:16:53 AM7/21/22
to exce...@googlegroups.com

Hi Duyet,

 

Have a look at the little sample I made here:

https://stackoverflow.com/a/3868370/44264

 

I read and write data using the C API.

 

-Govert

--
You received this message because you are subscribed to the Google Groups "Excel-DNA" group.
To unsubscribe from this group and stop receiving emails from it, send an email to exceldna+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/exceldna/d5457661-e153-48c1-b953-f969b9dcea4cn%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages