Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
Am Wed, 13 Nov 2013 13:28:25 -0600 schrieb JCO: 1 - Cycle from row 2 to end of file 2 - Compare the content of Column F and H (with a complex if...then or case statement 3 - on false delete the row 4 - on true - go to next row if you want to delete rows you have to go from last row to row 2 e.g.: LRow = Cells(Rows.Count, "F").End(xlUp).Row For i = LRow To 2 Step -1 If 'Here your condition for deleting the row' Then Rows(i).Delete End If Next Regards Claus B. -- Win XP PRof SP2 / Vista Ultimate SP2 Office 2003 SP2 /2007 Ultimate SP2 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
removing rows but not based on a range | Excel Programming | |||
Filling in cells (or not) based on the entry in a specific collumn | Excel Discussion (Misc queries) | |||
Removing rows based on isDate | Excel Programming | |||
counting if data from one collumn is present in another collumn | Excel Worksheet Functions | |||
How to find out how many rows do my collumn have? | Excel Programming |