View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
[email protected] rhjaisingh@gmail.com is offline
external usenet poster
 
Posts: 3
Default Conditional Delete in Excel using Macro

OK, here is the criteria -

Column A can be 2 values - Error or Valid
Coumn B can be multiple values for a country...say US, CA, UK...
Column C can be multiple values for a type...Hardware, Software,
Warranty...

I have set up an auto-filter using the AUTO_OPEN macro for

ErrorIND, COUNTRY, TYPE etc...

So my criteria for deletion is (using values from auto-filter)

ErrorIND = Error
Country = CA
Type = Software

All such rows should be deleted by the macro and nothing else..

Thanks.