+ Reply to Thread
Results 1 to 1 of 1

format number....

  1. #1
    Forum Contributor
    Join Date
    10-28-2003
    Location
    Italy
    MS-Off Ver
    11
    Posts
    127

    format number....

    Hi all and sorry for my english...
    I get the value from a txt file with:
    IMPORTO_M = Mid(Record_Corrente, 77, 15) * 1

    Ths number into txt file is 000000001245581

    I multiplicate this number value * 1 to have the absolute value

    1245581

    After i put this number into a column with:

    Worksheets("CONTROLLO").Range("A65536").End(xlUp).Offset(0, 4) =
    IMPORTO_M

    The column is in txt format.

    How to have this?:

    12.455,81

    Wath is the format number?

  2. #2
    Patrick Molloy
    Guest

    RE: format number....

    WITH Worksheets("CONTROLLO").Range("A65536").End(xlUp).Offset(0, 4)
    .Value = IMPORTO_M
    .NumberFormat = "#.##0,00"
    END WITH



    "sal21" wrote:

    >
    > Hi all and sorry for my english...
    > I get the value from a txt file with:
    > IMPORTO_M = Mid(Record_Corrente, 77, 15) * 1
    >
    > Ths number into txt file is 000000001245581
    >
    > I multiplicate this number value * 1 to have the absolute value
    >
    > 1245581
    >
    > After i put this number into a column with:
    >
    > Worksheets("CONTROLLO").Range("A65536").End(xlUp).Offset(0, 4) =
    > IMPORTO_M
    >
    > The column is in txt format.
    >
    > How to have this?:
    >
    > 12.455,81
    >
    > Wath is the format number?
    >
    >
    > --
    > sal21
    >
    >
    > ------------------------------------------------------------------------
    > sal21's Profile: http://www.excelforum.com/member.php...fo&userid=2040
    > View this thread: http://www.excelforum.com/showthread...hreadid=392063
    >
    >


+ 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