Hi Folks
I require Code to remove complete rows from Col I that are duplicates.
However I need to retain the latest record of each.
Example Workbook attached.
Cheers
hammer
Hi Folks
I require Code to remove complete rows from Col I that are duplicates.
However I need to retain the latest record of each.
Example Workbook attached.
Cheers
hammer
If you have found solving my problem/s to be an interesting and educational exercise then how about Repping me up?
No idea why I need Rep, other than feeling left out....
First google search yielded this
http://www.mrexcel.com/forum/excel-q...ast-entry.html
you only needed to change the column reference from 1 to 9
If you are satisfied with the solution(s) provided, please mark your thread as Solved.
Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.
- Sort on the dates descending in column C so the most recent are first
- Use the Remove Duplicates function to delete duplicate rows and keep the first occurrence.
- Sort the dates ascending in column C to return them they way they were.
These three steps can be recorded in a macro.
Last edited by AlphaFrog; 05-02-2016 at 03:03 AM.
Surround your VBA code with CODE tags e.g.;
[CODE]your VBA code here[/CODE]
The # button in the forum editor will apply CODE tags around your selected text.
@humdingaling
Thanks for the pointer- my problem is, whilst I can search for similar Code I never know how to adjust it to suit my specific requirement. I am the original Dummy- the one they wrote books for
@AlphaFrog
These simple steps prove what I just stated above- I am a Dummy
Thanks to you both for replying-
Cheers
hammer
Try this
Please Login or Register to view this content.
< ----- Please click the little star * next to add reputation if my post helps you
Visit Forum : From Here
@ Hammer
i'm guessing you didnt finish the dummies guide then
http://www.dummies.com/how-to/conten...-2016-vba.html
Thanks to YasserKhalil for the Code
Correct hummer.... I'm a Dummy at everything
You're welcome. Glad I can offer some help
Thanks for the feedback and for rep points
Hello, I have the same problem but my question is, how can add this code to an existing code?
Thanks in advance,
Cris
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks