I am unable to inverse column selection I'm receiving error 424 Object required.
Code works fine with manual selection such as this
Set MyRange = Selection
Sub Text2Numb()
Dim ws As Worksheet
Set ws = ActiveSheet
Dim MyRange As Range
Dim MyCell As Range
Set MyRange = Range("A:M").Select
For Each cell In MyRange
If cell.Value > 0 Then
cell.Value = -cell.Value
Else
cell.Value = -cell.Value
End If
Next cell
End Sub
Runtime Error 424 Object required