Hi,'
I have a worksheet ("POS") with data table where I'd like to format column F as number. Column F has some text fields (All Other) and numbers formatted as text together. Is there anyway to convert format of the column as numbers. I tried below code however it didn't do anything. Appreciate any help! Thanks
I have a worksheet ("POS") with data table where I'd like to format column F as number. Column F has some text fields (All Other) and numbers formatted as text together. Is there anyway to convert format of the column as numbers. I tried below code however it didn't do anything. Appreciate any help! Thanks
VBA Code:
Sub ConvertToNumber()
Application.ScreenUpdating = False
Worksheets("POS").Columns("F").Select
Selection.NumberFormat = "0"
Application.ScreenUpdating = True
End Sub