Problem send to excel in NAV 5.0

GetSmart
Member Posts: 17
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!
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
-
open the log file. What does it say?0
-
Log files message as below:
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 - Pa2GetSmart0 -
[Topic moved from Dynamics Mobile to NAV/Navision forum]0
-
I got this once too : there are restrictions to the names of worksheets in Excel.
-Maximum of 31 characters
-May not be empty
-May not contain any of the following characters : \ / ? * [ ]0 -
yep I agree with MBerger0
-
xml tag names cannot begin with a number. So, the fields "1099 Code" and "1099 Amount" will cause errors. One simple way to get around this is to just rename the fields to "X1099 Code" and "X1099 Amount".0
-
Hello how this problem can be solve sending to excel please advise.
thanks you,
jonjon0 -
GetSmart wrote:Log files message as below:
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
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.0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions