ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Delete Records according to One Criteria in one Field (https://www.excelbanter.com/excel-programming/372052-delete-records-according-one-criteria-one-field.html)

Roger The Rabbit

Delete Records according to One Criteria in one Field
 
Hi

Recording a Macro while filtering according to a criteria then deleting
those records remaining will not work as the reference of the records
deleted in the macro recorded could be different the next time round.

Can anyone help me with the VB command that would delete all records
that are equal to a criteria where the field name , in my case
"FinancialCategory" , is equal to 50.

Many Thanks


Roger Ramseier


Ron de Bruin

Delete Records according to One Criteria in one Field
 
See this page for a possible solution
http://www.rondebruin.nl/delete.htm

Post back if you need more help


--
Regards Ron de Bruin
http://www.rondebruin.nl



"Roger The Rabbit" wrote in message ups.com...
Hi

Recording a Macro while filtering according to a criteria then deleting
those records remaining will not work as the reference of the records
deleted in the macro recorded could be different the next time round.

Can anyone help me with the VB command that would delete all records
that are equal to a criteria where the field name , in my case
"FinancialCategory" , is equal to 50.

Many Thanks


Roger Ramseier





All times are GMT +1. The time now is 02:56 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com