Hello! I am yet to figure out how the following works, but use it all of the time to find the last used cell in a column and offset 1 row:
.Range("B" & Rows.Count).End(xlUp).Offset(1, 0) = Cel.Value
I am trying to apply the same logic to the following:
Cel2.Offset(0, 5).Value = Cel.Offset(0, 1).Value
Cel2.Offset(0, 6).Value = Cel.Offset(0, -7).Value
What is happening here is I am operating within 2 For Each loops (E.G. Cel & Cel2 both of which have a different Worksheet & Range).
I would like to find the last used Cel2 in the respective column (In this example the column which would offset Cel2 by 5 & 6 respectively), and offset 1 row. Anyone have any ideas?
.Range("B" & Rows.Count).End(xlUp).Offset(1, 0) = Cel.Value
I am trying to apply the same logic to the following:
Cel2.Offset(0, 5).Value = Cel.Offset(0, 1).Value
Cel2.Offset(0, 6).Value = Cel.Offset(0, -7).Value
What is happening here is I am operating within 2 For Each loops (E.G. Cel & Cel2 both of which have a different Worksheet & Range).
I would like to find the last used Cel2 in the respective column (In this example the column which would offset Cel2 by 5 & 6 respectively), and offset 1 row. Anyone have any ideas?