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

To all,

A question of understanding:

We have an application that generates .csv files, the delimiter is
determined by the locale of the user by reading their regional
settings - list separator.

When Excel opens a csv file using open-with Microsoft Excel does it
read the required list separator from anywhere other than the users
regional settings list separator?

Because it works in the UK but not in Spain!

Your thoughts would be appreciated

Cheers

Kieran

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default list separator

Kieran,
You can get the user's setting with:
?Application.International (xlListSeparator)
Also available, xlThousandsSeparator etc.

Depending what you are doing, you can use .OpenText and specify the
delimter(s) used.

But without code, Excel just defaults to the user's setting as shown in the
Control Panel, whatever the actual file contains.

NickHK

"Kieran H" wrote in message
oups.com...
To all,

A question of understanding:

We have an application that generates .csv files, the delimiter is
determined by the locale of the user by reading their regional
settings - list separator.

When Excel opens a csv file using open-with Microsoft Excel does it
read the required list separator from anywhere other than the users
regional settings list separator?

Because it works in the UK but not in Spain!

Your thoughts would be appreciated

Cheers

Kieran



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
list separator widman Excel Discussion (Misc queries) 3 November 5th 07 03:12 PM
How to use comma as list separator instead semicolon? Larry Setting up and Configuration of Excel 0 September 27th 07 10:38 PM
Making my list look better-want blank separator row Jugglertwo Excel Discussion (Misc queries) 7 March 20th 07 03:55 AM
TAB as list separator via regional setting Udo Excel Discussion (Misc queries) 0 November 8th 06 09:09 PM
list separator settings culkebas Excel Discussion (Misc queries) 2 December 22nd 05 08:26 AM


All times are GMT +1. The time now is 04:07 PM.

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"