View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.programming
Norman Jones Norman Jones is offline
external usenet poster
 
Posts: 5,302
Default Excel macro that deletes all rows which doesn't contain the charac

Hi Luca,

Adriano, it seems that you're solution only deletes the column "E".
How can I make it delete the entire row in these cases?


Try changing:

rng.Rows.Delete

to:

rng.EntireRow.Delete

---
Regards,
Norman