I use following formula to convert Time to numbers, but for some reason VBA converting some cells to column name ( column name is HOUR )
Can anyone tell me what is problem?
Sub Convert()
With Worksheets("DATA").Columns(10)
.NumberFormat = "0"
.Value = .Value
End With
End Sub
Can anyone tell me what is problem?
Sub Convert()
With Worksheets("DATA").Columns(10)
.NumberFormat = "0"
.Value = .Value
End With
End Sub