+ Reply to Thread
Results 1 to 5 of 5

Changing thousand separator in Excel

  1. #1
    Registered User
    Join Date
    11-08-2013
    Location
    Aarhus
    MS-Off Ver
    Excel 2013
    Posts
    7

    Changing thousand separator in Excel

    Hi

    I have the following problem: I have an userform with a textbox on for which I want to offset the value. I have formatted the textbox so that if you type in "10000", it shows the value as "10.000", i.e. with separator, in the textbox. However, once I try and offset the value into my sheet, Excel reads the dot/period as decimal and not as a thousand separator. So once I return to my sheet, the value is no longer "10.000", but "10". I guess the problem arises because VBA uses periods/dots as decimal separators and commas as thousand separators, but my Danish excel version uses the opposite.

    Is there a way where I can change this?

    Any help is appreciated!
    Last edited by MLarsen87; 10-22-2014 at 09:10 AM.

  2. #2
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Changing thousand separator in Excel

    I think you can go to Tools > Options > International > Number Handling to modify. However note I'm still working with 2003.

  3. #3
    Forum Expert nilem's Avatar
    Join Date
    10-22-2011
    Location
    Ufa, Russia
    MS-Off Ver
    2013
    Posts
    3,377

    Re: Changing thousand separator in Excel

    Hi MLarsen87.
    maybe so
    Please Login or Register  to view this content.

  4. #4
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    England
    MS-Off Ver
    365, varying versions/builds
    Posts
    21,998

    Re: Changing thousand separator in Excel

    If your regional settings use the . as thousands separator, you can convert the textbox using CDbl:
    Please Login or Register  to view this content.
    for example.
    Everyone who confuses correlation and causation ends up dead.

  5. #5
    Registered User
    Join Date
    11-08-2013
    Location
    Aarhus
    MS-Off Ver
    Excel 2013
    Posts
    7

    Re: Changing thousand separator in Excel

    Thank you all for quick answers. I used the solution suggested by @romperstomper and it worked perfectly.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. pivot table from Power Pivot not displaying thousand separator/comma
    By Paul-NYS in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 01-04-2013, 01:05 PM
  2. thousand separator with text
    By raventroth in forum Excel General
    Replies: 2
    Last Post: 04-01-2010, 10:21 AM
  3. Mixup between thousand separator and decimal point in Eurpeean Excel.
    By Jiser001 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 11-02-2009, 05:11 AM
  4. [SOLVED] thousand separator conversion from dot to comma
    By Spike in forum Excel General
    Replies: 10
    Last Post: 01-31-2006, 05:10 PM
  5. thousand separator as indian style for negative number
    By kamlakar in forum Excel General
    Replies: 0
    Last Post: 07-11-2005, 04:05 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1