I'm trying to perform a do while loop that takes 3 cells, splits them, takes the right split and transposes it. Then move down to the next set of 3. Here's what I have
Sub transposer2()
Dim i As Integer
Do While i < 300
Range(ActiveCell, ActiveCell.Offset(2, 0)).Select
Selection.TextToColumns Destination:=ActiveCell.Offset(0, 1).Select, 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)), TrailingMinusNumbers:=True
Range(ActiveCell, ActiveCell.Offset(2, 0)).Select
Selection.Copy
Range(ActiveCell.Offset(0, 1)).Select
Selection.PasteSpecial Paste:=xlPasteAll, Operation:=xlNone, SkipBlanks:= _
False, transpose:=True
Application.CutCopyMode = False
ActiveCell(9, -3).Select
Loop
End Sub
The selection after the range selection is where I am having trouble.
This is the data I copy from a txt file and ends up being space 9 rows apart
TAPER ANGLE : 6.6297
GAGE POINT DIA : 0.1775
DEPTH OF TAPER : -0.5950