Good Morning all,
*What we have*
I have a task at work that requires a little help from some knowledgeable people and would he highly grateful for any assistance anyone can provide
We have exported our entire local client database into excel format, this database contains 7859 rows of data in the following format:
A / B / C / D / I / J / M / O / P / R / U
Code / Full Name / UNLOCO / City / Created By / Created Time / Address 1 / Email / Fax / Phone / Mobile
Some rows have been hidden as the data is not required but will be needed when we "reimport" so I have hidden them for now
an example of one line would be:
132MARMEL / 132 MARKETING / AUMEL / COLLINGWOOD / RR / 28-Jul-09 15:22 / 36 WELLINGTON STREET / randomemail@optusmet.com.au / +61 (3) 9999-4444 / +61 (3) 9999-2222
*Our problem*
Due to overlapping data from older systems we have duplicates in our export file that have been created over time, these duplicates show up with a "1" at the end of the "Code", example below:
132MARMEL1 / 132 MARKETING / AUMEL / COLLINGWOOD / RR / 28-Jul-09 15:22 / 36 WELLINGTON STREET / randomemail@optusmet.com.au / +61 (3) 9999-4444 / +61 (3) 9999-2222
I have added a condition to bold and colour and code with a "1" at the end.
BUT
Due to the system using a specific way of coding not ALL the codes with "1" at the end are duplicates, for example "Bobs Manufacturing MEL" would be BOBMANMEL, but "Bobby Manufacturing MEL" would be BOBMANMEL1 as it can't be the same code and are different companies
The only way currently I can tell if a line with "1" a the end is to check the other data and see if it matches, I have added conditions to the document so that any Address that is a duplicate or number that is a duplicate is highlighted in Red.
This is great for me to look over and start deleting the duplicates
BUT
with 7859 lines to check over it will take too long and I need this done in a time frame
*what I need help with*
I need a VB code that will hide rows so that ONLY the codes with the "1" at the end AND their partner code "without the 1" are showing, for example BOBMANMEL and BOBMANMEL1 would not be hidden
Then I can check only the 1 codes vs their partner and see if any have different addresses, numbers and delete the rest.
Your help is highly appreciated
Regards
Jack
*What we have*
I have a task at work that requires a little help from some knowledgeable people and would he highly grateful for any assistance anyone can provide
We have exported our entire local client database into excel format, this database contains 7859 rows of data in the following format:
A / B / C / D / I / J / M / O / P / R / U
Code / Full Name / UNLOCO / City / Created By / Created Time / Address 1 / Email / Fax / Phone / Mobile
Some rows have been hidden as the data is not required but will be needed when we "reimport" so I have hidden them for now
an example of one line would be:
132MARMEL / 132 MARKETING / AUMEL / COLLINGWOOD / RR / 28-Jul-09 15:22 / 36 WELLINGTON STREET / randomemail@optusmet.com.au / +61 (3) 9999-4444 / +61 (3) 9999-2222
*Our problem*
Due to overlapping data from older systems we have duplicates in our export file that have been created over time, these duplicates show up with a "1" at the end of the "Code", example below:
132MARMEL1 / 132 MARKETING / AUMEL / COLLINGWOOD / RR / 28-Jul-09 15:22 / 36 WELLINGTON STREET / randomemail@optusmet.com.au / +61 (3) 9999-4444 / +61 (3) 9999-2222
I have added a condition to bold and colour and code with a "1" at the end.
BUT
Due to the system using a specific way of coding not ALL the codes with "1" at the end are duplicates, for example "Bobs Manufacturing MEL" would be BOBMANMEL, but "Bobby Manufacturing MEL" would be BOBMANMEL1 as it can't be the same code and are different companies
The only way currently I can tell if a line with "1" a the end is to check the other data and see if it matches, I have added conditions to the document so that any Address that is a duplicate or number that is a duplicate is highlighted in Red.
This is great for me to look over and start deleting the duplicates
BUT
with 7859 lines to check over it will take too long and I need this done in a time frame
*what I need help with*
I need a VB code that will hide rows so that ONLY the codes with the "1" at the end AND their partner code "without the 1" are showing, for example BOBMANMEL and BOBMANMEL1 would not be hidden
Then I can check only the 1 codes vs their partner and see if any have different addresses, numbers and delete the rest.
Your help is highly appreciated
Regards
Jack