+ Reply to Thread
Results 1 to 5 of 5

to roundoff the digits for display in textbox of userform

  1. #1
    Registered User
    Join Date
    11-05-2008
    Location
    France
    Posts
    28

    to roundoff the digits for display in textbox of userform

    I am trying to display the results that i get in excel sheet in a userform using textboxes;

    I need to round off the digits in these textboxes so as to display 2 digits after decimal point!

    I would like to have the code to solve this problem!

    thanks a lot for ur time!

    Taniks
    Last edited by taniks; 01-22-2009 at 05:21 AM.

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    Try
    Please Login or Register  to view this content.
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Registered User
    Join Date
    11-05-2008
    Location
    France
    Posts
    28

    french version

    I am using a french version of MS office!

    actually this is my code for the text box value.

    <txtconsohp.Value = Sheets("calcul conso ").Range("Q62").Value>

    could u just give me code for this particular text box value!

    thanks a lot

    Taniks

  4. #4
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    Try
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    11-05-2008
    Location
    France
    Posts
    28

    The code works

    Thanks a lot for ur kind help!

    Regards
    Taniks

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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