I have an worksheet with data. I want to put autofilter on colum "Type" with Criteria "DD", "Cash". Post autofilter i want to copy the data to new Worksheet and name it "New".
Please help me with a macro to do the above task. Please note where the data is appearing in the sheet post auto filter the same to be copied in new sheet. Incase no data meeting the criteria, then only header row to be copied in new sheet.
Please help urgently with macro
Example data is given below
<colgroup><col><col><col span="3"><col><col span="2"></colgroup><tbody>
</tbody>
Please help me with a macro to do the above task. Please note where the data is appearing in the sheet post auto filter the same to be copied in new sheet. Incase no data meeting the criteria, then only header row to be copied in new sheet.
Please help urgently with macro
Example data is given below
State | City | Literate | Illiterate | BPL | MiddleClass | Rich | Type |
Maharashtra | Mumbai | 1000 | 800 | 100 | 850 | 50 | Cash |
Gujarat | Ahmedabad | 2000 | 1500 | 250 | 1650 | 100 | Cheque |
Goa | Panjim | 1000 | 900 | 50 | 940 | 10 | Cash |
Punjab | Mohali | 2000 | 1400 | 50 | 1150 | 800 | Cheque |
Delhi | Delhi | 1000 | 980 | 20 | 760 | 220 | Cash |
Karnataka | Bangalore | 2000 | 1950 | 40 | 1530 | 430 | Cheque |
<colgroup><col><col><col span="3"><col><col span="2"></colgroup><tbody>
</tbody>