Hello, I have attached an example sheet.
In K1 I have a value
What I want a macro to do is search for the LAST occurrence of this in column A - and clear all data after it.
So in this instance column A would match what is in Column O
Hello, I have attached an example sheet.
In K1 I have a value
What I want a macro to do is search for the LAST occurrence of this in column A - and clear all data after it.
So in this instance column A would match what is in Column O
Hello cmb80,
This macro will do what you want.
NOTE: Because this is a Partial Match, you should include the Parentheses. E.g. the value in K1 should be (AUS).Please Login or Register to view this content.
Last edited by Leith Ross; 10-12-2014 at 02:30 PM.
Sincerely,
Leith Ross
Remember To Do the Following....
1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.2. Thank those who have helped you by clicking the Star below the post.3. Please mark your post [SOLVED] if it has been answered satisfactorily.
Old Scottish Proverb...
Luathaid gu deanamh maille! (Rushing causes delays!)
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks