Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have column in a s/s where some numbers are currently formatted as a
percentage and others as a number, but i want to change them so that they are formatted as numbers. So for example in a column i have:- A B (What i want it to return) 65% 65 63% 63 62 62 61% 61 I tried writing the below code, but VBA didn't like it.... Sub Macro2() x = 1 Do Until Cells(x, 8).Value = "" Cells(x, 8).Select If Cells(x, 8).Format = "0.00%" Then Selection.NumberFormat = "0.00" End If x = x + 1 Loop End Sub I realise that i would have to add a column and * all %'s by a hundred to get my desired effect. Could anyone help with my query. Thanks! Crauwf. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel change a group of positive numbers to negitive numbers | Excel Discussion (Misc queries) | |||
How to change positive numbers to negative numbers without re-ente | Excel Worksheet Functions | |||
Excel, change column of negative numbers to positive numbers? | New Users to Excel | |||
Can I change a column of calculated numbers to absolute numbers? | Excel Discussion (Misc queries) | |||
change 2000 cells (negative numbers) into positive numbers | Excel Worksheet Functions |