You need to give more info with after examples.
--
Don Guillett
Microsoft MVP Excel
SalesAid Software
(E-Mail Removed)
"Krystal Peters" <(E-Mail Removed)> wrote in message
news

B24F88B-4DA8-401E-9012-(E-Mail Removed)...
>I want to use a macro to clean up a file and save time. The Requests Found
> field is the maximum # of records that can be deleted. So I could have 1
> record with a max of 1 to delete or 5 of a record with a max of 3 to
> delete
> or 1 record with a max of 7 to delete. I assume I will need to loop
> through
> the rows - any suggestion would be appreaciated. Thanks, Krystal
>
>
> SAMPLE DATA:
>
> ACCT_NO Requests Found
> 289278995 1
> 289278999 1
> 289278999 1
> 289278999 1
> 870587008 1
> 119387014 1
> 158675527 2
> 654375649 2
> 569777245 2
> 752478468 2
> 752478468 2
> 396378512 2
> 396378512 2
> 396378512 2
> 396378512 2
> 399778090 3
> 399778090 3
> 399778090 3
> 208777882 4
> 208777882 4
> 208777882 4
> 208777882 4
> 987178737 4
> 987178737 4
> 117468837 7
> 117468837 7
> 117468837 7
> 117468837 7
>