Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default 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?


--
sal21


------------------------------------------------------------------------
sal21's Profile: http://www.excelforum.com/member.php...fo&userid=2040
View this thread: http://www.excelforum.com/showthread...hreadid=392063

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,298
Default 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
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
how do I add phone number format as a permanent custom format? frustratedagain Excel Discussion (Misc queries) 3 February 4th 06 03:52 AM
Replace million-billion number format to lakhs-crores format Sumit Excel Discussion (Misc queries) 1 December 9th 05 04:58 PM
convert text-format number to number in excel 2000%3f Larry Excel Discussion (Misc queries) 1 July 29th 05 08:18 PM
Number format based on number format of another cell in another workbook Rob Excel Programming 9 January 9th 05 04:30 PM
excel format cells/Number/Category: Number problem Matts Excel Discussion (Misc queries) 5 December 9th 04 09:47 PM


All times are GMT +1. The time now is 03:44 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"