Hey, Glory
No luck with the code...
Here is what I had before:
Sub last_row()
LastRow = Cells(Rows.Count, "J").End(xlUp).Row
Cells(LastRow + 1, "J").Select
End Sub
Sub Top_Part_last_row()
For i = 17 To 1240
If Cells(i, "J") = "" Then
Cells(i, "J").Select
Exit Sub
End If
Next i
End Sub
This gets me to the first empty box in the first range (J17:J1240). Here is what I tried using your advice. I got an invalid outside process or something or another message:
If Toggle = 1 then
Sub last_row()
LastRow = Cells(Rows.Count, "J").End(xlUp).Row
Cells(LastRow + 1, "J").Select
End Sub
Sub Top_Part_last_row()
For i = 17 To 1240
If Cells(i, "J") = "" Then
Cells(i, "J").Select
Exit Sub
End If
Next i
End Sub
Toggle = 0
Exit Sub
ElseIf Toggle = 0 Then
Sub last_row()
LastRow = Cells(Rows.Count, "J").End(xlUp).Row
Cells(LastRow + 1, "J").Select
End Sub
Sub Top_Part_last_row()
For i = 1261 To 2484
If Cells(i, "J") = "" Then
Cells(i, "J").Select
Exit Sub
End If
Next i
End Sub
Toggle = 1
Exit Sub
I didn't realize macros could be fun. I'm not planning on making a living at it, though...
Please let me know if you have any ideas...
Thanks again