web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Using excel services in D365

(1) ShareShare
ReportReport
Posted on by 33
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.
I have the same question (0)
  • Suggested answer
    Martin Dráb Profile Picture
    240,002 Most Valuable Professional on at
    Your approach worked in AX, but you need to do it differently in F&O. Utilize EPPlus library; OfficeOpenXml.ExcelPackage is the main class there. You can find examples on Internet, e.g. Import records from Excel using X++ code in D365FO.
     
    (Moved from Dynamics AX forum.)
  • David Danh Profile Picture
    33 on at
    Thank you very much.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 428 Super User 2026 Season 1

#2
Subra Profile Picture

Subra 370

#3
Martin Dráb Profile Picture

Martin Dráb 283 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans