Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
hbarniv
 
Posts: n/a
Default Openning an .csv file

I use Excel XP and when try to open a .csv file, get a message:"File not
loaded completely". I click OK and get one long row of data. Anyone knows
why?

ALso, when importing the .csv file to Excel, the columns get shifted and in
one field I get | instead of comma. Any ideas?

Thanks
  #2   Report Post  
Dave Peterson
 
Posts: n/a
Default

Two questions:

#1. Does each line of your CSV file end with a carriage return/line feed?
(If I get a file FTPed from a UNIX box, I have to add those linefeeds.)

#2. Does the delimiter in your CSV file match the character under:
Windows start button|settings|control panel|regional settings applet|
Number Tab|list character?



hbarniv wrote:

I use Excel XP and when try to open a .csv file, get a message:"File not
loaded completely". I click OK and get one long row of data. Anyone knows
why?

ALso, when importing the .csv file to Excel, the columns get shifted and in
one field I get | instead of comma. Any ideas?

Thanks


--

Dave Peterson
  #3   Report Post  
Dave Peterson
 
Posts: n/a
Default

I add the Carriage returns (hex-13), not LF's.

When I convert these stuff, I use a freeware/shareware program called Unix2DOS.
You could find a bunch by searching http://www.shareware.com (or even google).

UNIX lines end with hex-10.
DOS/Windows lines end with hex-13, hex-10.



Dave Peterson wrote:

Two questions:

#1. Does each line of your CSV file end with a carriage return/line feed?
(If I get a file FTPed from a UNIX box, I have to add those linefeeds.)

#2. Does the delimiter in your CSV file match the character under:
Windows start button|settings|control panel|regional settings applet|
Number Tab|list character?

hbarniv wrote:

I use Excel XP and when try to open a .csv file, get a message:"File not
loaded completely". I click OK and get one long row of data. Anyone knows
why?

ALso, when importing the .csv file to Excel, the columns get shifted and in
one field I get | instead of comma. Any ideas?

Thanks


--

Dave Peterson


--

Dave Peterson
  #4   Report Post  
hbarniv
 
Posts: n/a
Default

Thank you Dave for replying.

I get the file from an NT box and not sure how lines end. Is there a way to
find out?
Do you know why Excel returns the error message "File not loaded completely"?
The delimiter is comma, which is standard

Regards

"Dave Peterson" wrote:

Two questions:

#1. Does each line of your CSV file end with a carriage return/line feed?
(If I get a file FTPed from a UNIX box, I have to add those linefeeds.)

#2. Does the delimiter in your CSV file match the character under:
Windows start button|settings|control panel|regional settings applet|
Number Tab|list character?



hbarniv wrote:

I use Excel XP and when try to open a .csv file, get a message:"File not
loaded completely". I click OK and get one long row of data. Anyone knows
why?

ALso, when importing the .csv file to Excel, the columns get shifted and in
one field I get | instead of comma. Any ideas?

Thanks


--

Dave Peterson

  #5   Report Post  
Dave Peterson
 
Posts: n/a
Default

The "file not loaded completely" means either you have too many rows (65536) or
too many columns (256).

My favorite text editor is called UltraEdit32. (http://www.ultraedit.com)

It has an option to look at the data in hex mode. I think there's a try before
you buy with UE, but if you can find any geeky kind of co-worker, he (those
geeks are always he's!) has a favorite text editor that you can use.

If the number of rows is too large, you can use your favorite text editor to
split it into multiple pieces and import each piece/file into a separate
workbook.

hbarniv wrote:

Thank you Dave for replying.

I get the file from an NT box and not sure how lines end. Is there a way to
find out?
Do you know why Excel returns the error message "File not loaded completely"?
The delimiter is comma, which is standard

Regards

"Dave Peterson" wrote:

Two questions:

#1. Does each line of your CSV file end with a carriage return/line feed?
(If I get a file FTPed from a UNIX box, I have to add those linefeeds.)

#2. Does the delimiter in your CSV file match the character under:
Windows start button|settings|control panel|regional settings applet|
Number Tab|list character?



hbarniv wrote:

I use Excel XP and when try to open a .csv file, get a message:"File not
loaded completely". I click OK and get one long row of data. Anyone knows
why?

ALso, when importing the .csv file to Excel, the columns get shifted and in
one field I get | instead of comma. Any ideas?

Thanks


--

Dave Peterson


--

Dave Peterson
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
File asks to update when no links were created Dave Links and Linking in Excel 1 December 16th 04 08:10 PM
Convert text file to MS_Excel Aqua Flow Excel Discussion (Misc queries) 1 November 30th 04 02:55 AM
Getting a file and Saving a File carl0s66 Excel Discussion (Misc queries) 2 November 29th 04 09:59 PM
Metering Office 97 products Info Excel Discussion (Misc queries) 0 November 29th 04 04:29 PM
How to remove an Excel Main Menu item inserted by .xla file Dennis Excel Discussion (Misc queries) 5 November 28th 04 08:39 PM


All times are GMT +1. The time now is 09:52 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"