-
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
The result from ExcelDnaUtil.Application is a Microsoft.Office.Interop.Excel.Application. Your code is trying to cast it to System.Windoes.Application. |
Beta Was this translation helpful? Give feedback.
-
Do you have samples for NET6.0? |
Beta Was this translation helpful? Give feedback.
-
Sure - this sample uses the COM object model to write to the sheet. |
Beta Was this translation helpful? Give feedback.
Sure - this sample uses the COM object model to write to the sheet.
Note that it uses the ExcelDna.Interop package to get a reference to the Excel PIA assemblies.