+ Reply to Thread
Results 1 to 2 of 2

Number formate

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    04-09-2005
    Location
    Multan. Pakistan
    Posts
    131

    Number formate

    Hello Freids

    i want to see figures in a user form just like that 900,000.00 with two decimals instead of 900000.

    i am using this code

    with textbox1

    .value = format (.value, "###,##0.00")

    end with

    this code is working with comma and decimals in textbox3, where i am getting the value with formula. but in textbox1 and textbox2 where i am putting the values directly it is not working (suppose to put 16033 in textbox1, it is shown 1 only )

    please guide me.

    Thanks.
    Last edited by Syed Haider Ali; 04-18-2005 at 08:24 AM. Reason: syntax error

  2. #2
    Registered User
    Join Date
    08-20-2003
    Location
    Luton, England
    Posts
    63
    Your code must go into the textbox OnChange event.
    Regards
    BrianB
    Most problems are caused by starting from the wrong place.
    Use a cup of coffee to speed up all Windows processes.
    It's easy until you know how.
    -----------------------------------------

+ 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