G
Guest
Below is a macro I have set up. I am trying to paste information into the excel spread sheet from an internet page. The first time I click into A1 and paste, run the Macro to edit, then click into B1, Paste, Run the edit etc. Because I created this when I made the C1 column, it keeps over writing in C1. How can I change this so that it edits where the cursor is, or at least goes to D1, then E1, etc. I see the range at the bottom also says D1, so that will need to be addressed
Selection.TextToColumns Destination:=Range("C1"), DataType:=xlFixedWidth,
FieldInfo:=Array(Array(0, 1), Array(18, 1)
Columns("C:C").Selec
Selection.Delete Shift:=xlToLef
With Selectio
.HorizontalAlignment = xlLef
.VerticalAlignment = xlBotto
.WrapText = Fals
.Orientation =
.IndentLevel =
.ShrinkToFit = Fals
.MergeCells = Fals
End Wit
ActiveWorkbook.Sav
Selection.ColumnWidth = 30.4
Range("D1").Selec
End Su
Selection.TextToColumns Destination:=Range("C1"), DataType:=xlFixedWidth,
FieldInfo:=Array(Array(0, 1), Array(18, 1)
Columns("C:C").Selec
Selection.Delete Shift:=xlToLef
With Selectio
.HorizontalAlignment = xlLef
.VerticalAlignment = xlBotto
.WrapText = Fals
.Orientation =
.IndentLevel =
.ShrinkToFit = Fals
.MergeCells = Fals
End Wit
ActiveWorkbook.Sav
Selection.ColumnWidth = 30.4
Range("D1").Selec
End Su