Hi,
Could anyone provide the following 2 VBA codes
(1) that will insert 3 rows starting from row 5 (my data runs from row 5 to row 20)
and the code to
(2) delete every 2nd row starting from row 3 to row 150
Thank you very much.
Hi,
Could anyone provide the following 2 VBA codes
(1) that will insert 3 rows starting from row 5 (my data runs from row 5 to row 20)
and the code to
(2) delete every 2nd row starting from row 3 to row 150
Thank you very much.
Try these
![]()
Range(Cells(5, 1), Cells(8, 1)).EntireRow.Insert Shift:=xlDown
VBA Noob![]()
Dim I As Long Application.ScreenUpdating = False For I = 151 To 3 Step -2 Cells(I, 1).EntireRow.Delete Next I Application.ScreenUpdating = True
_________________________________________
![]()
![]()
Credo Elvem ipsum etian vivere
_________________________________________
A message for cross posters
Please remember to wrap code.
Forum Rules
Please add to your signature if you found this link helpful. Excel links !!!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks