GP 2013: Why are my SmartLists not formatted when exported to Excel?

Just recently I have been seeing a number of questions around Microsoft Dynamics GP 2013 Smartlist exports to Microsoft Office Excel not being formatted correctly - let's rephrase, the correct word to use here is "nicely". The issues usually involve leading zeroes being dropped (in some cases) and currency amounts being exported with 5 decimals and no currency symbol.

Exported Payables Transactions smart list

To make a one swipe statement here, this behavior IS NOT a product bug - despite the inconvenience.

With the introduction of the Web Client in Microsoft Dynamics GP 2013, the development team needed the ability improve the performance of Smartlist exports over the browser. To gain this dramatic improvement in performance (which is also experienced when using the rich client), exported Excel smart lists were voided of formatting.

There's an undocumented Dex.ini switch that provides limited formatting to Smartlists, thus maintaining export performance:


You can find more information on this Dex.ini switch here:

Undocumented DEX.INI switch cuts down SmartList export times to Microsoft Office Excel

If you are not going to deploy Web Client, then this should be fine as a workaround. However, this switch causes the Web Client to error out with the following message when attempting to export to Excel:

Web Client error exporting smart list to Excel with SmartlistEnhancedExcelExport=TRUE 

So there you have it!

Until next post!

Mariano Gomez, MVP
IntellPartners, LLC


Anonymous said…
Does it matter what version of Excel? I have a client using Excel 2010 and the switch doesn't seem to be working.
Anonymous said…
Wow, after adding:

to my Dex.ini file, the Excel export runs SUPER fast. It's a huge noticeable difference. Too cool!

By the way, I did this in GP 2013 and GP 2010 R2. Works for both!
RanjitCharles said…
This was more than displaying the correct number of decimals for us. In the Inventory Purchase Receipts Excel Export from smartlist (GP 2013), Qty received values greater than 1000 were exported with just the first digit. Eg. a received quantity of 1600 is exported as 1.00, 4032 was exported as 4.00. The Dex.ini setting took care of this problem. Thanks Mariano!
go away said…
Problem with this or at least what I have noticed is that if one column is blank it moves the data on the right to the blank column on the left.

This article was very helpful in answering allot of questions.Thanks for posting.
Dave said…
We are also having the problem that when a column is blank it moves the data to the left...has anyone figured out a solution to that issue?

Anonymous said…
But my user has a column with multiple currencies. If the Currency Symbol is removed after export, how would you know which cell refers to which currency?
I don't think this is very useful.
Mariano Gomez said…
You will need to export the currency Id as well.

Anonymous said…
Just wanna ask what will you do if it happen in GP Web while SmartlistEnhancedExcelExport=TRUE can't be used in GP Web. You have another solution?

Thanks before.
Unknown said…
I just submitted a suggestion to fix the problem where the columns shift on the Excel export if you use the SmartlistEnhancedExcelExport=TRUE and the first column is blank. If you're experiencing that error, you can vote for the suggestion here:
Mey said…
Mariano Gomez,
Could you please explain the steps to export the currency id?
We have SmartlistEnhancedExcelExport=TRUE in dex.ini and we need to export the currency correctly to Excel. $ is exporting but not English pound.
Mariano Gomez said…
What version of GP are you referring to? Is this still GP 2013? I know this problem has since been fixed in GP2015 R2 and above.

Mariano Gomez said…
Not sure there's much I personally can do. It will depend on Microsoft to improve the export capabilities of SmartList on Web Client. If something does not meet your requirements, I believe you should be posting it on for the Product Management team to review. Get people to vote on it.

Unknown said…
Hi All,

GP2016-620(R2) I am having similar issues in Samrtlist designer where most of the columns are changed into the different type of data after exporting to Excel where in smartlist it is ok, once exported to excel all the data is shared and codify in a strange manner below are few examples:
=DATE(2018,1,1),(suppose to be doc date )
#NAME? (suppose to be Account Description)
#NAME? (suppose to be TaxDetail Id)
0.00000 (suppose to be A Negative number) (-9000.00)

to mention there is no special character used anywhere in data

apart from this smart list is not sorting the data column by clicking on a column heading a usual practice, any idea what is going on
Mariano Gomez said…
Verify you DO NOT have present a forms dictionary for Smartlist (EXP1493F.dic), in the path indicated by your DYNAMICS.SET file. If so, rename it and relaunch GP to see if this fixes the problem.
Unknown said…
Has anyone posted a fix for the "columns shifts on the Excel export if you use the SmartlistEnhancedExcelExport=TRUE"?

I saw Pam Robertson posted kink to a suggested fix on but that site has been retired.

Popular posts from this blog

Power Apps - Application Monitoring with Azure Application Insights

eConnect Integration Service for Microsoft Dynamics GP 2010

Troubleshooting the Microsoft Dynamics GP 2013 Web Client - Part 3