DownUnder71
New Member
- Joined
- Aug 6, 2013
- Messages
- 6
Hello Forum,
In a cell I have "ABCDEFG_0123_78_82". I'd like keep "ABCDEFG_0123" in a cell in column A, the "78" in column B, and the "82" in column C. Using the the VBA code below, I'm unable to keep the first "_" intact (i.e. ABCDEFG_0123).
Selection.TextToColumns Destination:=Range("A2"), DataType:=xlDelimited, _
TextQualifier:=xlDoubleQuote, ConsecutiveDelimiter:=False, Tab:=False, _
Semicolon:=False, Comma:=False, Space:=False, Other:=True, OtherChar _
:="_", FieldInfo:=Array(Array(1, 1), Array(2, 1), Array(3, 1)), _
TrailingMinusNumbers:=True
So I need something to start the separation process from the second "_". Any help would be greatly appreciated.
Thanks in advance.
In a cell I have "ABCDEFG_0123_78_82". I'd like keep "ABCDEFG_0123" in a cell in column A, the "78" in column B, and the "82" in column C. Using the the VBA code below, I'm unable to keep the first "_" intact (i.e. ABCDEFG_0123).
Selection.TextToColumns Destination:=Range("A2"), DataType:=xlDelimited, _
TextQualifier:=xlDoubleQuote, ConsecutiveDelimiter:=False, Tab:=False, _
Semicolon:=False, Comma:=False, Space:=False, Other:=True, OtherChar _
:="_", FieldInfo:=Array(Array(1, 1), Array(2, 1), Array(3, 1)), _
TrailingMinusNumbers:=True
So I need something to start the separation process from the second "_". Any help would be greatly appreciated.
Thanks in advance.