If you have an array 11 cells wide, 2 rows deep. After iterating through the following code for one row, Column 3 on the second row will already be populated.
How do I skip to column 5 on the second row, if after the end of the second row I would like to restart at column 3 (which will not be populated) for the next 2x11 array?
Using the following code:
Private Sub Worksheet_Change(ByVal Target As Range)
If Not Target.Cells.CountLarge > 1 Then
If Not Intersect(Target, Columns(3)) Is Nothing Then
Target.Offset(, 2).Select
ElseIf Not Intersect(Target, Columns(5)) Is Nothing Then
Target.Offset(, 1).Select
ElseIf Not Intersect(Target, Columns(6)) Is Nothing Then
Target.Offset(, 2).Select
ElseIf Not Intersect(Target, Columns(8)) Is Nothing Then
Target.Offset(, 2).Select
ElseIf Not Intersect(Target, Columns(10)) Is Nothing Then
Target.Offset(, 1).Select
ElseIf Not Intersect(Target, Columns(11)) Is Nothing Then
Target.Offset(, -2).Select
ElseIf Not Intersect(Target, Columns(9)) Is Nothing Then
Target.Offset(1, -6).Select
End If
End If