Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default 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

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default 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



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Delete records when certain records have duplicate column data JVroom New Users to Excel 1 January 26th 09 06:23 PM
filtering out records from one worksheet by comparing a field in it with a field in another worksheet [email protected] New Users to Excel 0 May 9th 07 01:06 AM
=DMIN(database,field,criteria) question about criteria Dummy Excel Discussion (Misc queries) 2 April 16th 07 08:02 PM
How do I display records using a key field in Excel? Vic from Texas Excel Worksheet Functions 1 March 1st 05 10:16 PM
Unique Records by Field Indu Aronson Excel Programming 4 October 10th 03 10:12 PM


All times are GMT +1. The time now is 05:08 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"