Hi friends,
I would like to create a macro which deletes the records from the excel file for those values of the coulmn 'A' or first column for which the field values are other than Project, Client and Consulting.
My file looks like this:
A B c D
1. Project xyz Oracle 200
2. Div abc SQL 100
3. Client pqr ABC
4. sam def abc
5. Project abc SQL
6. Consulting abc SQL
7. Radiant abc SQL
9. Project abc SQL
10 Client Abc SQL
Now my requirement is I need to eliminate or delete those lines from my excel sheet where the value of my first column is other than Project or client or consulting.
Hence I need only lines 1,3,5,6,9 & 10. I want to delete rest of the lines.
Kindly help me out in giving the VBA code which does this job in macro.
Thanks & Regards,
Zaks.
I would like to create a macro which deletes the records from the excel file for those values of the coulmn 'A' or first column for which the field values are other than Project, Client and Consulting.
My file looks like this:
A B c D
1. Project xyz Oracle 200
2. Div abc SQL 100
3. Client pqr ABC
4. sam def abc
5. Project abc SQL
6. Consulting abc SQL
7. Radiant abc SQL
9. Project abc SQL
10 Client Abc SQL
Now my requirement is I need to eliminate or delete those lines from my excel sheet where the value of my first column is other than Project or client or consulting.
Hence I need only lines 1,3,5,6,9 & 10. I want to delete rest of the lines.
Kindly help me out in giving the VBA code which does this job in macro.
Thanks & Regards,
Zaks.