Hi,
I'm trying to copy and parse some data from colB to colC. I've recorded the below and it's fine but I'd like to leave the column headers intact.
I've tried changing the range to ("B2:B") and ("C2:C") but this doesn't seem to work. Looking around this and other sites it doesn't seem like an incorrect way of setting the range. Clearly there is some nugget of information I can't glean from forums which I need in order to be able to understand why it's incorrect and how to solve it.
Any advice would be much appreciated.
I'm trying to copy and parse some data from colB to colC. I've recorded the below and it's fine but I'd like to leave the column headers intact.
I've tried changing the range to ("B2:B") and ("C2:C") but this doesn't seem to work. Looking around this and other sites it doesn't seem like an incorrect way of setting the range. Clearly there is some nugget of information I can't glean from forums which I need in order to be able to understand why it's incorrect and how to solve it.
Any advice would be much appreciated.
VBA Code:
Range("B:B").Select
Selection.Copy
Range("C:C").Select
ActiveSheet.Paste
Application.CutCopyMode = False
Selection.TextToColumns Destination:=Range("C1"), DataType:=xlDelimited, _
TextQualifier:=xlDoubleQuote, ConsecutiveDelimiter:=False, Tab:=True, _
Semicolon:=False, Comma:=False, Space:=False, Other:=True, OtherChar _
:="@", FieldInfo:=Array(Array(1, 9), Array(2, 1)), TrailingMinusNumbers:=True