dj44
05-22-2017, 03:18 PM
Evening folks,
I am trying to increment the next column in Excel, but it just doesnt seem to work
How can i make it increment to the next column after it has completed the loop Start at Column A > B> C > D on each journey through the loop
Do While .Execute(FindText:=arrWords(i))
iRow = xlSheet.Range("A" & xlSheet.Rows.Count).End(-4162).row + 1
xlSheet.Cells(iRow, 1) = oRng.Text
oRng.Collapse 0
Loop
End With
Next
The first time it goes to Column A, now next time on the loop go to Column B, C, D etc
Now I added many loops to it, but nothing seemed to work to go to the next column.
Where exactly am i supposed to increment the column counter, i added J , K letters as long - to make a column loop , but i admit defeat
Google has been of no help today
please do advice on why this Column wont increment
thank you
I am trying to increment the next column in Excel, but it just doesnt seem to work
How can i make it increment to the next column after it has completed the loop Start at Column A > B> C > D on each journey through the loop
Do While .Execute(FindText:=arrWords(i))
iRow = xlSheet.Range("A" & xlSheet.Rows.Count).End(-4162).row + 1
xlSheet.Cells(iRow, 1) = oRng.Text
oRng.Collapse 0
Loop
End With
Next
The first time it goes to Column A, now next time on the loop go to Column B, C, D etc
Now I added many loops to it, but nothing seemed to work to go to the next column.
Where exactly am i supposed to increment the column counter, i added J , K letters as long - to make a column loop , but i admit defeat
Google has been of no help today
please do advice on why this Column wont increment
thank you