+ Reply to Thread
Results 1 to 4 of 4

Output Variable as a comma seperated Number

  1. #1
    Forum Contributor
    Join Date
    09-13-2008
    Location
    Los Angeles, CA
    MS-Off Ver
    365
    Posts
    120

    Output Variable as a comma seperated Number

    Is there any way to output a Variant as a comma seperated number without changing the format of the cell?

    I'm basically trying to do something like :
    Please Login or Register  to view this content.
    where sum is a variant. currently, if the variant is 10235.10, it would display exactly like that, I want it to display as "10,235.10", any idea?

    Thanks in advance!

  2. #2
    Registered User
    Join Date
    04-24-2008
    Location
    Zurich
    Posts
    45
    Try this:
    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    09-13-2008
    Location
    Los Angeles, CA
    MS-Off Ver
    365
    Posts
    120
    Quote Originally Posted by Kuskush View Post
    Try this:
    Please Login or Register  to view this content.
    tried it, didn't work

  4. #4
    Registered User
    Join Date
    04-24-2008
    Location
    Zurich
    Posts
    45
    Check the option settings (in Excel 2003: extras>options>international).
    If the separator for 1000s is set to "," the suggested code should do what you asked for.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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