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

I have the following problem:

London based PC

A comma delimited file will open correctly if opened with "Open With
Microsoft Excel for Windows" (csv extension)

Note the list separator within regional settings for UK specifies a
comma

Madrid PC

On a Spanish PC the same file with a semicolon delimiter fails to
open correctly even though the regional setting list separator
specifies a semicolon.

No code is running that might re-set the delimiter
Not loading correctly means the delimiter is being ignored.
I know that users could solve this by using the import text wizard but
I would really like to understand why the list separator in regional
settings is being ignored

Many Thanks

Kieran

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

Kieran,
I can't reproduce this with my English W2K/Office XP.
Excel follow the delimiter specified as the List Separator in the Regional
Options for opening .csv files.

NickHK

"Kieran H" wrote in message
oups.com...
I have the following problem:

London based PC

A comma delimited file will open correctly if opened with "Open With
Microsoft Excel for Windows" (csv extension)

Note the list separator within regional settings for UK specifies a
comma

Madrid PC

On a Spanish PC the same file with a semicolon delimiter fails to
open correctly even though the regional setting list separator
specifies a semicolon.

No code is running that might re-set the delimiter
Not loading correctly means the delimiter is being ignored.
I know that users could solve this by using the import text wizard but
I would really like to understand why the list separator in regional
settings is being ignored

Many Thanks

Kieran



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 32
Default List Separator

On Mar 8, 3:36 am, "NickHK" wrote:
Kieran,
I can't reproduce this with my English W2K/Office XP.
Excel follow the delimiter specified as the List Separator in the Regional
Options for opening .csv files.

NickHK

"KieranH" wrote in message

oups.com...



I have the following problem:


London based PC


A comma delimited file will open correctly if opened with "Open With
Microsoft Excel for Windows" (csv extension)


Note the list separator within regional settings for UK specifies a
comma


Madrid PC


On a Spanish PC the same file with a semicolon delimiter fails to
open correctly even though the regional setting list separator
specifies a semicolon.


No code is running that might re-set the delimiter
Not loading correctly means the delimiter is being ignored.
I know that users could solve this by using the import text wizard but
I would really like to understand why the list separator in regional
settings is being ignored


Many Thanks


Kieran- Hide quoted text -


- Show quoted text -



Nick,

I can't even replicate this problem on a London based pc changed to
reflect a Spanish locale!

Nevertheless on a PC located in Spain the delimiter is being ignored
on "Open With"

A debug.print on the Application.International(xlListSeparator)
confirms that Excel believes the delimiter to be a semicolon!

The file delimiter is definately a semicolon

Yet it still fails to open correctly

Maybe the installation of Excel is different in some way?

Very frustrating!!

Thanks for responding

Cheers

Kieran







  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default List Separator

Kieran,
Under ToolsOptionsInternational, there is a "Use system separators"
settings. On my XL XP, this only indicates the Decimal and Thousands
separators and that setting has no effect on Excel's handling of .csv files.
Maybe their version of Excel is different ?

I assume your "definately" does mean "definitely" ?

Just check our Chinese XP/Chinese Excel XP and all work as expected.

My suspicion would still on the format of the semi-colon text file.
Don't suppose it has some extra non printing characters in it?
Unicode ?

Exactly what do you mean by "Yet it still fails to open correctly" ?

NickHK

"Kieran H" wrote in message
oups.com...
On Mar 8, 3:36 am, "NickHK" wrote:
Kieran,
I can't reproduce this with my English W2K/Office XP.
Excel follow the delimiter specified as the List Separator in the

Regional
Options for opening .csv files.

NickHK

"KieranH" wrote in message

oups.com...



I have the following problem:


London based PC


A comma delimited file will open correctly if opened with "Open With
Microsoft Excel for Windows" (csv extension)


Note the list separator within regional settings for UK specifies a
comma


Madrid PC


On a Spanish PC the same file with a semicolon delimiter fails to
open correctly even though the regional setting list separator
specifies a semicolon.


No code is running that might re-set the delimiter
Not loading correctly means the delimiter is being ignored.
I know that users could solve this by using the import text wizard but
I would really like to understand why the list separator in regional
settings is being ignored


Many Thanks


Kieran- Hide quoted text -


- Show quoted text -



Nick,

I can't even replicate this problem on a London based pc changed to
reflect a Spanish locale!

Nevertheless on a PC located in Spain the delimiter is being ignored
on "Open With"

A debug.print on the Application.International(xlListSeparator)
confirms that Excel believes the delimiter to be a semicolon!

The file delimiter is definately a semicolon

Yet it still fails to open correctly

Maybe the installation of Excel is different in some way?

Very frustrating!!

Thanks for responding

Cheers

Kieran









  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 32
Default List Separator

On Mar 8, 9:46 am, "NickHK" wrote:
Kieran,
Under ToolsOptionsInternational, there is a "Use system separators"
settings. On my XL XP, this only indicates the Decimal and Thousands
separators and that setting has no effect on Excel's handling of .csv files.
Maybe their version of Excel is different ?

I assume your "definately" does mean "definitely" ?

Just check our Chinese XP/Chinese Excel XP and all work as expected.

My suspicion would still on the format of the semi-colon text file.
Don't suppose it has some extra non printing characters in it?
Unicode ?

Exactly what do you mean by "Yet it still fails to open correctly" ?

NickHK

"KieranH" wrote in message

oups.com...



On Mar 8, 3:36 am, "NickHK" wrote:
Kieran,
I can't reproduce this with my English W2K/Office XP.
Excel follow the delimiter specified as the List Separator in the

Regional
Options for opening .csv files.


NickHK


"KieranH" wrote in message


roups.com...


I have the following problem:


London based PC


A comma delimited file will open correctly if opened with "Open With
Microsoft Excel for Windows" (csv extension)


Note the list separator within regional settings for UK specifies a
comma


Madrid PC


On a Spanish PC the same file with a semicolon delimiter fails to
open correctly even though the regional setting list separator
specifies a semicolon.


No code is running that might re-set the delimiter
Not loading correctly means the delimiter is being ignored.
I know that users could solve this by using the import text wizard but
I would really like to understand why the list separator in regional
settings is being ignored


Many Thanks


Kieran- Hide quoted text -


- Show quoted text -


Nick,


I can't even replicate this problem on a London based pc changed to
reflect a Spanish locale!


Nevertheless on a PC located in Spain the delimiter is being ignored
on "Open With"


A debug.print on the Application.International(xlListSeparator)
confirms that Excel believes the delimiter to be a semicolon!


The file delimiter is definately a semicolon


Yet it still fails to open correctly


Maybe the installation of Excel is different in some way?


Very frustrating!!


Thanks for responding


Cheers


Kieran- Hide quoted text -


- Show quoted text -


Nick,

I am using Excel 2000 and do not have an international tab under
options.

In response to your point re non printable characters, I created a
very short csv file (ansi) in note pad. The semicolon delimited file
when opened on a London based PC with the list separator also set to
semicolon

breaks the fields into the correct columns

If I do the same on a Spanish pc the list separator is ignored and the
data is dumped into the left most cell despite the fact that
Application.International(xlListSeparator) reports a semicolon
delimiter

The Spanish pc has the same build but has a Spanish language pack
loaded

Regards

Kieran










  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default List Separator

Kieran,
I'm out of suggestions then. Seems strange that the Spanish version should
behave differently to all/most others though.

NickHK

"Kieran H" wrote in message
oups.com...
On Mar 8, 9:46 am, "NickHK" wrote:
Kieran,
Under ToolsOptionsInternational, there is a "Use system separators"
settings. On my XL XP, this only indicates the Decimal and Thousands
separators and that setting has no effect on Excel's handling of .csv

files.
Maybe their version of Excel is different ?

I assume your "definately" does mean "definitely" ?

Just check our Chinese XP/Chinese Excel XP and all work as expected.

My suspicion would still on the format of the semi-colon text file.
Don't suppose it has some extra non printing characters in it?
Unicode ?

Exactly what do you mean by "Yet it still fails to open correctly" ?

NickHK

"KieranH" wrote in message

oups.com...



On Mar 8, 3:36 am, "NickHK" wrote:
Kieran,
I can't reproduce this with my English W2K/Office XP.
Excel follow the delimiter specified as the List Separator in the

Regional
Options for opening .csv files.


NickHK


"KieranH" wrote in message


roups.com...


I have the following problem:


London based PC


A comma delimited file will open correctly if opened with "Open

With
Microsoft Excel for Windows" (csv extension)


Note the list separator within regional settings for UK specifies

a
comma


Madrid PC


On a Spanish PC the same file with a semicolon delimiter fails to
open correctly even though the regional setting list separator
specifies a semicolon.


No code is running that might re-set the delimiter
Not loading correctly means the delimiter is being ignored.
I know that users could solve this by using the import text wizard

but
I would really like to understand why the list separator in

regional
settings is being ignored


Many Thanks


Kieran- Hide quoted text -


- Show quoted text -


Nick,


I can't even replicate this problem on a London based pc changed to
reflect a Spanish locale!


Nevertheless on a PC located in Spain the delimiter is being ignored
on "Open With"


A debug.print on the Application.International(xlListSeparator)
confirms that Excel believes the delimiter to be a semicolon!


The file delimiter is definately a semicolon


Yet it still fails to open correctly


Maybe the installation of Excel is different in some way?


Very frustrating!!


Thanks for responding


Cheers


Kieran- Hide quoted text -


- Show quoted text -


Nick,

I am using Excel 2000 and do not have an international tab under
options.

In response to your point re non printable characters, I created a
very short csv file (ansi) in note pad. The semicolon delimited file
when opened on a London based PC with the list separator also set to
semicolon

breaks the fields into the correct columns

If I do the same on a Spanish pc the list separator is ignored and the
data is dumped into the left most cell despite the fact that
Application.International(xlListSeparator) reports a semicolon
delimiter

The Spanish pc has the same build but has a Spanish language pack
loaded

Regards

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
list separator Kieran H Excel Programming 1 February 26th 07 07:00 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:56 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"