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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

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

Excel is taking so long (+8 secons) to Open from X++

(0) ShareShare
ReportReport
Posted on by 46

Hi Guys,

I have been working with excel files lately from X++,

just to read around 20 fields from the AX  and write the to Excel. no to complicated

but I notice that is not slow by reading/writing data into excel. but just by opening the file (even if the file is new and created from x++)

It is quite annoying that I have to wait almost 10 seconds from the moment a click the menuItem button until the excel is opened.

Or just by a simple job it takes the same time:

pastedimage1614349547564v1.png

I have the same question (0)
  • Ludwig Reinhard Profile Picture
    Microsoft Employee on at

    Hi,

    How many records to you have in your invent table that you try to read?

    Best regards,

    Ludwig

  • CBNestor Profile Picture
    46 on at

    hi Ludwig,

    thanks for replying.

    the problem is not the amount of data itself. The problem is the amount of time it takes since the action is triggered until the Excel application is open (the workbook opens)

    the code that I uploaded is just a job that instanciates the excel app and opens the file. from the moment the job is triggered to the workbook opens takes around 6 to 10 seconds... it is quite annoying if you look at the default "Export to Microsoft Excel" button

  • Suggested answer
    Leo Chen Profile Picture
    Microsoft Employee on at

    Probably you want to take an AX trace to check time spent in which part.  

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

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

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 694

#2
André Arnaud de Calavon Profile Picture

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

#3
CP04-islander Profile Picture

CP04-islander 337

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans