M
Mike
Here's the code I recorded:
Columns("K:K").Select
Selection.Find(What:="zzzz", After:=ActiveCell, LookIn:=xlFormulas, _
LookAt:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, _
MatchCase:=False, SearchFormat:=False).Activate
Range("K53").Select
Range(Selection, ActiveCell.SpecialCells(xlLastCell)).Select
Range("A53:K264").Select
Range("K53").Activate
Selection.Delete Shift:=xlUp
My problem is that the result of the FIND will not always be in K53 as the
row will vary by filesize.
After the FIND cell is located, I'm deleting all data in cells a?? to K264.
So, not to get to verbose, I don't want the macro to contain a static FIND
cell, but want it to be dynamic.
Thanks
Columns("K:K").Select
Selection.Find(What:="zzzz", After:=ActiveCell, LookIn:=xlFormulas, _
LookAt:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, _
MatchCase:=False, SearchFormat:=False).Activate
Range("K53").Select
Range(Selection, ActiveCell.SpecialCells(xlLastCell)).Select
Range("A53:K264").Select
Range("K53").Activate
Selection.Delete Shift:=xlUp
My problem is that the result of the FIND will not always be in K53 as the
row will vary by filesize.
After the FIND cell is located, I'm deleting all data in cells a?? to K264.
So, not to get to verbose, I don't want the macro to contain a static FIND
cell, but want it to be dynamic.
Thanks