Gord:
I am using Excel 2003, so no worries on that. Here is a macro I tried this
morning:
Sub AutoCopyDelete()
'
' AutoCopyDelete1 Macro
' Macro recorded 12/4/2008 by Scott B. Semel
'
'
Cells.Find(What:=" Daypart Portion", After:=ActiveCell, LookIn:= _
xlFormulas, LookAt:=xlPart, SearchOrder:=xlByRows, SearchDirection:= _
xlNext, MatchCase:=False, SearchFormat:=False).Activate
ActiveCell.Offset(-1, 0).Range("A1").Select
Selection.AutoFill Destination:=ActiveCell.Range("A1:A2"), Type:= _
xlFillDefault
ActiveCell.Range("A1:A2").Select
ActiveCell.Rows("1:1").EntireRow.Select
Selection.Delete Shift:=xlUp
End Sub
It will find the target phrase and perform the other operations I need. The
only solution I need now is how to make the macro perform the operation for
all instances in the entire sheet. Right now I can make that happen by
holding down the key combination until it cycles through the whole thing. But
I'd like to invoke the macro just once rather than having to hold down the
keys.
We're almost there.
Thanks again,
Scott