Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a bunch of files that I would like to delete 2 rows every
99rows (basically there is information I don't need every 99rows after the first 100 rows...or 101 with the headers). I have "recorded" a macro for this, but I thought there would be a better way, as the number of rows is different for each file. Is there a way to do this, since I don't have a constant number of rows in each sheet? Rows("102:103").Select Selection.Delete Shift:=xlUp Rows("201:202").Select Selection.Delete Shift:=xlUp etc.... As I said, I recorded this manually, but there has to be a better way! |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Macro to delete rows | Excel Discussion (Misc queries) | |||
Macro to delete rows | Excel Discussion (Misc queries) | |||
Macro to delete Rows 1, 3 and 10 | Excel Programming | |||
Macro to delete rows | Excel Programming |