Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Is there a better way to write these statements
If startb.Offset(i, 0).Value = "AC01" Then startb.Offset(i, 0).EntireRow.Delete If startb.Offset(i, 0).Value = "AC03" Then startb.Offset(i, 0).EntireRow.Delete If startb.Offset(i, 0).Value = "AC05" Then startb.Offset(i, 0).EntireRow.Delete If startb.Offset(i, 0).Value = "AT01" Then startb.Offset(i, 0).EntireRow.Delete If startb.Offset(i, 0).Value = "CF01" Then startb.Offset(i, 0).EntireRow.Delete If startb.Offset(i, 0).Value = "CP01" Then startb.Offset(i, 0).EntireRow.Delete If startb.Offset(i, 0).Value = "DB01" Then startb.Offset(i, 0).EntireRow.Delete If startb.Offset(i, 0).Value = "DG" Then startb.Offset(i, 0).EntireRow.Delete If startb.Offset(i, 0).Value = "DSK01" Then startb.Offset(i, 0).EntireRow.Delete If startb.Offset(i, 0).Value = "FT080" Then startb.Offset(i, 0).EntireRow.Delete thanks Shanu |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
multiple if statement | Excel Discussion (Misc queries) | |||
If statement with multiple criteria and multiple results | Excel Discussion (Misc queries) | |||
Multiple if Statement? | Excel Discussion (Misc queries) | |||
Multiple IF statement | Excel Discussion (Misc queries) | |||
Multiple If Statement | Excel Programming |