I have signed up for the newsletter and will also take a look at the book you've recommended..
I do have one more question regarding this project... I am getting an error on your code when I run it w/ the full report. It's on the "s = Cells(i, 1)" part. It's due to my formatting of the report that I do. Before I put in all of your code, I have a piece of code to format the report. It goes like this..
Workbooks.OpenText FileName:= _
"C:\Documents and Settings\jwetmore\Desktop\report.txt", Origin:=xlWindows, _
StartRow:=1, DataType:=xlFixedWidth, FieldInfo:=Array(Array(0, 1), Array(7, 1), Array(19 _
, 1), Array(24, 1), Array(25, 1), Array(29, 1), Array(80, 1), Array(114, 1), Array(129, 1))
Application.ScreenUpdating = False
On Error GoTo done
Do While 1 < 1000
Cells(1, 8).EntireColumn.Find("Page", LookIn:=xlWhole, lookat:=xlWhole, matchcontrolcharacters:=False).Select
Range(ActiveCell(), ActiveCell.Offset(7, 0)).Select
Selection.EntireRow.Delete
'a = 1 'this is just a bogus variable
Loop
done:
ActiveWorkbook.SaveAs FileName:= _
"C:\Documents and Settings\jwetmore\Desktop\report.xls", FileFormat:= _
xlExcel9795, Password:="", WriteResPassword:="", ReadOnlyRecommended:= _
False, CreateBackup:=False
Range("A1").Select
Application.ScreenUpdating = True
End Sub
now when that's all done, depending on the page breaks occasionally I end up w/ 2 rows like this:
Percent Project
Percent Project
How would I run something that that does a find for "Percent" and if the row below it also says percent to delete the TOP one? I think this should solve the error i'm getting. Thanks!
ps i'm working on it,, but i keep getting stuck in a loop! LOL I think it needs to be done from the bottom up also right? again thanks for the help!