Hi everyone,
I'm new member .
I'm coding function for import data from excel but that throw exception "The name 'SysExcelApplication' does not denote a class, a table, or an extended data type."
This is my code and these red words is same exception above.
private void importExelInternalDeliveryPrice()
{
SysExcelApplication application;
SysExcelWorkbooks workbooks;
SysExcelWorkbook workbook;
SysExcelWorksheets worksheets;
SysExcelWorksheet worksheet;
SysExcelCells cells;
....
}
I try update model to Application Platform package , but that not effect.
I'm using office 2016 , so i had tried add reference Microsoft.Office.Interop.Excel.dll but that is not OK.
Please help me.
Thanks a lot.