marreco
Well-known Member
- Joined
- Jan 1, 2011
- Messages
- 609
- Office Version
- 2010
- Platform
- Windows
Hi.
I have a worksheet named 'Data' and column 'E' that has followed. values
<tbody>
</tbody>
I want the last column (number), was well formatted.
50025
50000
50225
50225
60000
50050
I tried a code made by VOG, but I can not adapt it
thank you!!
I have a worksheet named 'Data' and column 'E' that has followed. values
ID | name | Value1 | Value2 | number |
123 | Alex | 54 | 65 | 500,25 |
354 | Mark | 21 | 54 | 500,00 |
415 | Joe | 12 | 32 | 502,25 |
875 | Bill | 65 | 74 | 500,50 |
<tbody>
</tbody>
I want the last column (number), was well formatted.
50025
50000
50225
50225
60000
50050
I tried a code made by VOG, but I can not adapt it
Code:
Sub test()
With Worksheets("Dados").UsedRange
.Replace what:=",", replacement:="", Lookat:=xlPart
.NumberFormat = "00"
End With
End Sub
thank you!!