I'm having problems in exporting to Excel for the Nav 5.0 .For instance I use the "Send to Microsoft Office Excel" button to export the data in the Payment Journals data to Excel, but when i doing this then the following message:
Problems came up in the following areas during load:
Workbook Setting
This file cannot be opened because of errors. Errors are listed in C:\Documents and Settings\<user name>\Local Settings\Temporary Internet Files\Content.MSO\2B35508E.log
Any assistance would be appreciated!
GetSmart
0
Comments
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
XML ERROR in Workbook Setting
REASON: Bad Value
FILE: C:\Documents and Settings\<username>\Local Settings\Temp\AMB-FEB09 PV 01~172 02 - Payment Journal.xml
GROUP: Workbook
TAG: Worksheet
ATTRIB: Name
VALUE: AMB-FEB09 PV 01~172/02 - Pa1
XML ERROR in Workbook Setting
REASON: Bad Value
FILE: C:\Documents and Settings\<username>\Local Settings\Temp\AMB-FEB09 PV 01~172 02 - Payment Journal.xml
GROUP: Workbook
TAG: Worksheet
ATTRIB: Name
VALUE: AMB-FEB09 PV 01~172/02 - Pa2
-Maximum of 31 characters
-May not be empty
-May not contain any of the following characters : \ / ? * [ ]
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
thanks you,
jonjon
I got such error today and solve it.
You need to export common Style sheet for Excel "NavisionFormToExcel" from Nav. Then you need to find this string in it:
<xsl:value-of select="concat(substring($TableBoxCaption,1,27),string(position()))"/>
and then you need change it like:
<xsl:value-of select="concat(substring(translate($TableBoxCaption,'/',''),1,27),string(position()))"/>
Added function translate() to remove '/' chars.
Then you should save style sheet and import it back to Nav.