Hello lads,
I have faced macro error on below code. Can you able to support on this. Enclosed pictures for you to review
Sub Packlist_Parts_Weights(Optional w As Worksheet)
'
' Last Updated - 27/10/2016 - BO
'
Dim Rng As Range
Application.ScreenUpdating = False
For Each Rng In Selection.Areas
Rng.TextToColumns Destination:=Rng.Resize(1, 1), DataType:=xlFixedWidth, _
FieldInfo:=Array(Array(0, 2), Array(12, 2), Array(23, 2), Array( _
44, 1), Array(56, 1), Array(80, 1), Array(92, 1), Array(104, 1), Array(118, 1)), TrailingMinusNumbers:=True
Next Rng
Application.ScreenUpdating = True
End Sub[/CODE]
Bookmarks