See
http://www.rondebruin.nl/delete.htm
Try the AutoFilter example
http://www.rondebruin.nl/delete.htm#AutoFilter
Read the comments in the code
--
Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm
"Natdan" wrote in message ...
I have used subtotal on my data and have copied and paste special'd my data
to another sheet, I know want to delete all the rows that dont have the word
"*Total*" in them. I am fairly new to vba and would appreciate any help
anyone can give me.