Hi All,
I have a code which will do a text to column on the sheets. I will run this on every tab. the tab name varies but the data will be similar and starts only from A3 and will not have any blanks. Can any one suggest or add a line to do the same job on all sheets in the file except from 2 tabs which will be "Macro" and "File".
Below is the Code for reference.
Sub TexttoCol()
'
' TexttoCol Macro
'
'
Range("A3").Select
Range(Selection, Selection.End(xlDown)).Select
Selection.TextToColumns Destination:=Range("A3"), DataType:=xlFixedWidth, _
FieldInfo:=Array(Array(0, 1), Array(10, 1), Array(20, 1), Array(32, 1), Array(40, 1), _
Array(53, 1), Array(61, 1), Array(72, 1), Array(85, 1), Array(95, 1), Array(105, 1), Array( _
115, 1), Array(130, 1), Array(145, 1), Array(166, 1), Array(207, 1)), _
TrailingMinusNumbers:=True
End Sub
Bookmarks