When exporting the Chart of Accounts in NAV 5.0SP1 with the excel export button in the NAV client, the numbers that were exported all get stored as text.
I am using Excel 2007, is this something I need to modify in my Excel settings?
Thank you all for your time,
0
Comments
In that thread there is a link to a Microsoft KB article: Platform Update rollup 956161 is available for Microsoft Dynamics NAV 5.0 SP1.
And in that KB article, you can read this:
Still getting the same results when exporting to Excel
This only works in Navision 5.0 SP1, from build 27191.
In NAV :
• Open Form 690 (Manage Style Sheets).
• Select the stylesheet for exporting to Excel.
• Functions, export.
• Open the file in Notepad or visual studio
• Modify the following in the Style sheet:
<xsl:when test='@subtype != 'number'''> replace by <xsl:when test='@datatype != 'Decimal''>
<xsl:when test='@subtype = 'number'''> replace by <xsl:when test='@datatype = 'Decimal''>
PLEASE NOTE the capitals..
• Save the Style Sheet.
• Delete the existing Stylesheet in Navision
• Functions, Import.
• Select the newly imported stylesheet in the model
• Send To program: EXCEL.EXE
This did the trick for me, no more numbers stored as text now in Office2007
Decimal with caps or not, I get the same numbers in text format. I have noticed that Aged Accounts receivable report which has export to excel works fine. It's only the stylesheets...