PC Review


Reply
Thread Tools Rate Thread

CSV line feed delimitter

 
 
Janne
Guest
Posts: n/a
 
      17th Dec 2007
I have a extern automation system where I create CSV -file to be later
imported into Excel 2003. There is 150 ascii text string variables with
different lengths (but always same) in row and 70 rows. I can add commas ok
by adding ',' between variables.
This way I can import variables in separate colums. Now I would like to
bequin new rows automaticly when importing. What is the right delimiter
instead of ',' to be inserted in the end of the row?

Thanks in advance
 
Reply With Quote
 
 
 
 
JP
Guest
Posts: n/a
 
      17th Dec 2007
Try "vbcrlf" or Chr(13)


HTH,
HP

On Dec 17, 2:15 pm, Janne <Ja...@discussions.microsoft.com> wrote:
> I have a extern automation system where I create CSV -file to be later
> imported into Excel 2003. There is 150 ascii text string variables with
> different lengths (but always same) in row and 70 rows. I can add commas ok
> by adding ',' between variables.
> This way I can import variables in separate colums. Now I would like to
> bequin new rows automaticly when importing. What is the right delimiter
> instead of ',' to be inserted in the end of the row?
>
> Thanks in advance


 
Reply With Quote
 
Rick Rothstein \(MVP - VB\)
Guest
Posts: n/a
 
      17th Dec 2007
Concatenate the predefined VBA constant vbNewLine at the end of each line.

Rick


"Janne" <(E-Mail Removed)> wrote in message
news:19D5A601-E9C7-4CB7-BCB3-(E-Mail Removed)...
>I have a extern automation system where I create CSV -file to be later
> imported into Excel 2003. There is 150 ascii text string variables with
> different lengths (but always same) in row and 70 rows. I can add commas
> ok
> by adding ',' between variables.
> This way I can import variables in separate colums. Now I would like to
> bequin new rows automaticly when importing. What is the right delimiter
> instead of ',' to be inserted in the end of the row?
>
> Thanks in advance


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Challenge - Excel Line Feed Character CHR(10) - How to Delete and keep the text formatting without going ro single line in a cell ? Microsoft Excel Programming 6 7th Oct 2009 12:28 PM
Excel Line Feed Character - How to delete the CHR(10) and keep the formatting without going to single line.. Microsoft Excel Discussion 7 7th Oct 2009 11:13 AM
Challenge - Excel Line Feed Character CHR(10) - How to Delete and keep the text formatting without going ro single line in a cell ? Microsoft Excel Worksheet Functions 7 7th Oct 2009 11:10 AM
Report Text Box Force Line Carriage Return and Line Feed Dwade Microsoft Access Reports 1 9th Apr 2009 08:48 PM
how does excel store new line and line feed characters? ben h Microsoft Excel Programming 0 1st Jul 2004 02:34 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:12 AM.