Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default Default column separator

Hello,

Is it possible to open a csv-file with a number of columns that are
separated be a certain separator in Excel, so that Excel puts the text in
the right columns automatically by looking at the separator. I want Excel to
do this without using the wizard 'Text to Columns'. This works fine for me
when I use the semicolon as separator. I presume this is the default
separator. But how can I change this separator to for example a comma, so
that Excel can also open my comma-separated files in a correct way
automatically?

I've already tried to change the 'List Separator'-setting in the 'Regional
Settings' to a comma, but this doesn't work. Does anyone know the answer
please?

Thx,

Lieven


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Default column separator

Since you posting in Programming, for maximum control, do it with a macro.

See Chip Pearson's page on this topic:

http://www.cpearson.com/excel/imptext.htm#Import
Import Text Files

--
Regards,
Tom Ogilvy

"Lieven Mettepenningen" wrote in message
...
Hello,

Is it possible to open a csv-file with a number of columns that are
separated be a certain separator in Excel, so that Excel puts the text in
the right columns automatically by looking at the separator. I want Excel

to
do this without using the wizard 'Text to Columns'. This works fine for me
when I use the semicolon as separator. I presume this is the default
separator. But how can I change this separator to for example a comma, so
that Excel can also open my comma-separated files in a correct way
automatically?

I've already tried to change the 'List Separator'-setting in the 'Regional
Settings' to a comma, but this doesn't work. Does anyone know the answer
please?

Thx,

Lieven




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
Use 100 separator inspite of 1000 separator in excel Montu Excel Worksheet Functions 11 May 2nd 23 11:41 AM
How do I default separator for thousands when working in XLS in t. Kamal Singh Oberh Excel Worksheet Functions 3 April 30th 07 07:20 AM
how to set default column function hui Excel Worksheet Functions 3 January 18th 07 03:01 PM
Default column formats Zorkfob Excel Discussion (Misc queries) 5 March 4th 05 01:23 AM
Default column separator Smuggy New Users to Excel 0 February 10th 05 10:47 AM


All times are GMT +1. The time now is 11:54 PM.

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

About Us

"It's about Microsoft Excel"