Hi
my below code work to insert one new row to my table. How would I modify it to insert more than one row? Exampel 25
Thanks
L
Sub CheckRows()
Range("a5000").Select
Selection.End(xlUp).Select
Range(Selection, Selection.End(xlUp)).Select
If Selection.Rows.Count < 10 Then
Selection.ListObject.ListRows.Add AlwaysInsert:=True
Else
Exit Sub
End If
End Sub
my below code work to insert one new row to my table. How would I modify it to insert more than one row? Exampel 25
Thanks
L
Sub CheckRows()
Range("a5000").Select
Selection.End(xlUp).Select
Range(Selection, Selection.End(xlUp)).Select
If Selection.Rows.Count < 10 Then
Selection.ListObject.ListRows.Add AlwaysInsert:=True
Else
Exit Sub
End If
End Sub