LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming,microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5
Default Thousand/Decimal seperator

I have the following problem:

I set Windows to Dutch (dot as thousand seperator and comma as decimal
sererator)

The format of cell A1 and A2 is both General
In cell A1 I have this formula: =1234/1000
Excel displays 1,234 (comma)

From VBA I execute the following statement: Range("A2").Value =
CStr(Range("A1").value)

I should expect that 1,234 (comma) is displayed in cell A2, as a value, or
at least as a string
But cell A2 displays 1.234 (dot) and contains the value 1234
The format of cell A2 has been changed by Excel to 'Number' with 0 decimals
and using thousand seperator

It seems Excel is calculating somewhere using a comma as thousand seperator.
Is there some setting in Excel to change this?

I'm working on Windows XP Pro
I tested it with Excel 2000 (NL); Excel 2003 (NL) en Excel 2007 (Eng)

Gertjan


 
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
Date Seperator burt Excel Discussion (Misc queries) 2 August 6th 08 03:00 PM
use 100 seperator instead of 1000 in excel Montu Excel Discussion (Misc queries) 3 December 21st 07 05:34 PM
Removal of thousands seperator finney78 Excel Discussion (Misc queries) 2 August 18th 05 09:43 AM
Digit seperator vnsbudhe Excel Worksheet Functions 5 July 23rd 05 04:42 PM
Thousand Seperator venky Excel Discussion (Misc queries) 5 November 30th 04 01:22 PM


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