[COLOR="Navy"]Sub[/COLOR] foo()
[COLOR="Navy"]Dim[/COLOR] i [COLOR="Navy"]As[/COLOR] [COLOR="Navy"]Long[/COLOR]
[COLOR="Navy"]Dim[/COLOR] myWs [COLOR="Navy"]As[/COLOR] Worksheet
[COLOR="Navy"]For[/COLOR] [COLOR="Navy"]Each[/COLOR] myWs [COLOR="Navy"]In[/COLOR] Sheets(Array("BHP", "RIO", "CBA"))
[B][COLOR="Red"]With[/COLOR] [COLOR="Red"]myWs[/COLOR][/B]
[COLOR="Navy"]For[/COLOR] i = .Cells(.Rows.Count, "A").End(xlUp).Row [COLOR="Navy"]To[/COLOR] 2 [COLOR="Navy"]Step[/COLOR] -1
[COLOR="Navy"]If[/COLOR] .Cells(i, "A").Value = "Group" [COLOR="Navy"]And[/COLOR] LenB(.Cells(i, "A").Offset(1).Value) = 0 [COLOR="Navy"]Then[/COLOR]
.Cells(i, "A").Resize(2).EntireRow.Delete
[COLOR="Navy"]End[/COLOR] [COLOR="Navy"]If[/COLOR]
[COLOR="Navy"]Next[/COLOR] i
[B][COLOR="Red"]End[/COLOR] [COLOR="Red"]With[/COLOR][/B]
[COLOR="Navy"]Next[/COLOR] myWs
[COLOR="Navy"]End[/COLOR] [COLOR="Navy"]Sub[/COLOR]