It worked, thank you very much.
--
Jodie
"Jacob Skaria" wrote:
> Hi Jodie
>
> Try the below
>
> Sub Macro()
> Dim ws As Worksheet, lngLastRow As Long
> For Each ws In Worksheets
> lngLastRow = ws.Cells.Find(What:="*", _
> SearchDirection:=xlPrevious, SearchOrder:=xlRows).Row
> Set varFound = ws.Columns(1).Find("Total", , xlValues, 1)
> If Not varFound Is Nothing Then
> ws.Rows(varFound.Row + 1 & ":" & lngLastRow).Delete
> End If
> Next
> End Sub
>
> If this post helps click Yes
> ---------------
> Jacob Skaria
>
>
> "Jodie" wrote:
>
> > I have a workbook with multiple sheets and I need to delete all rows in each
> > sheet after the total row. The total row shows "Total" in the first column
> > and it is in a different row in each sheet. Can anyone help?
> > --
> > Thank you, Jodie
|