Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Programming / February 2007

Tip: Looking for answers? Try searching our database.

list separator

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Kieran H - 21 Feb 2007 18:06 GMT
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
NickHK - 26 Feb 2007 07:00 GMT
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

> To all,
>
[quoted text clipped - 15 lines]
>
> Kieran
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.