Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
hey all
I want to find a value in a worksheet and then delete 5 lines unde every occurance of the value. I have been toying with: For Count = 1 To *x* Range("A1").Select Cells.Find(What:="Report", After:=ActiveCell, LookIn:=xlFormulas _ LookAt:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext _ MatchCase:=False).Activate ActiveCell.Rows("1:5").EntireRow.Select Selection.Delete Shift:=xlUp Next Count End Sub How do i find for *x* Can someone please tell me how this can be achieved. thank -- Message posted from http://www.ExcelForum.com |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Loop question | Excel Discussion (Misc queries) | |||
Loop question | Excel Discussion (Misc queries) | |||
One more loop question | Excel Programming | |||
another loop question | Excel Programming | |||
For loop question | Excel Programming |