Hi everyone!
My problem can simply be put: Excel formats differently some expressions in a csv file than what they really are. Here is an example.
Say that I have a csv file with one as follows:
22205E1;1;1
But this line is shown as
222050 1 1 (think that values are in seperate cells)
22205E1 is an item number and it is critical to represent it in the Excel application as it really is because there will be some editing in the file using Excel. I don't want Excel to interpret it in scientific format.
I know this is not a NAV question. But I have had no clue about it.
Cem Karaer @ Pargesoft
Dynamics NAV Developer since 2005
0
Comments
Your question is hard to understand.
You are saying that you have semicolon separated line in csv, but you don't have it. ???
What is the real problem? You don't see semiclon separated data in excel in (your example) three cels but only in one?
Dynamics NAV Developer since 2005
Dynamics NAV Developer since 2005
2,22E+05 1 1
Change column format to General or Text. It works at me (Excel 2007)
222050 1 1
Dynamics NAV Developer since 2005
Opening txt file in excel, you have option to define column type. In your case text.
Other possibility is to change field start/end into something not used (÷×¤ß or ') and then run macro that deletes those chars.
And ultimate solution: use excel buffer.
Dynamics NAV Developer since 2005
Export to excel directly, then import from excel as well. It should work and also it is more "professional"
Maybe excel 2007 does that way...
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Dynamics NAV Developer since 2005
Which version of excel?
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
You need to rename the file to .txt or sth. Sometimes excel is just to smart.
Dynamics NAV Developer since 2005
Base is to use File-Open menu and not opening the file by clicking on it...
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
(within Excel menus) Data -> Import External Data -> Import Data
and finally choose the desired csv file. But this technique will not open the csv file but copy the contents of it into a blank sheet.
There is no way in Excel to run the Text Import Wizard by using the open menu.
Dynamics NAV Developer since 2005
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.