web
You’re offline. This is a read only version of the page.
close
Skip to main content
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
    RE: Excel is taking so long (+8 secons) to Open from X++

    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
    RE: Excel is taking so long (+8 secons) to Open from X++

    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
    on at
    RE: Excel is taking so long (+8 secons) to Open from X++

    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

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

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 1,771

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 806 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 542 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans