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

Perhaps Chip Pearson's code:

http://www.cpearson.com/excel/imptext.htm import/export text files

Allows you to specify the list separator. Not sure it, as written, supports
a different decimal separator.

--
Regards,
Tom Ogilvy

"Jan Karel Pieterse" wrote in message
...
Hi,

Excel XP was the first version that has these properties.
You simply cannot use them with earlier versions and you
need to use a workaround to do what you want.

I suspect you want to import delimited data with a
particular decimal separator.

In Excel 2000 and below, you have to change the regional
settings to be able to do that OR use code that parses the
text file itself.

I've seen code somewhere that does that, but couldn;t find
it.

Regards,

Jan Karel Pieterse
Excel TA/MVP

-----Original Message-----
Hi,
I have an application made in XP which crashes when
running on 2000. The 2000 version does not tolerate

With Application
OldDecimalSeparator = .DecimalSeparator
OldUseSystemSeparators = .UseSystemSeparators
.UseSystemSeparators = False
.DecimalSeparator = "."
End With

How can I do this so it is version independent between XP
and 2000?

Any help appreciated.

jacob
.



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 commas as decimal separator Edwin Excel Discussion (Misc queries) 2 July 6th 09 04:09 PM
Importing txt-file with "." (= dot) as decimal separator doesn't w MarttiH Excel Discussion (Misc queries) 2 October 24th 08 01:13 PM
Format Cell to Overwrite Decimal Separator in Options Brett24 Excel Discussion (Misc queries) 1 September 11th 06 11:34 AM
How do I change the way the decimal separator displays? chiuam Excel Discussion (Misc queries) 2 January 20th 06 07:56 PM
convert imported data with . separator for decimal into , separato kris Excel Discussion (Misc queries) 1 September 8th 05 11:34 PM


All times are GMT +1. The time now is 12:46 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"