Please don't quote whole posts unless there is a specific reason - makes the thread hard to navigate/review. I have pruned that last post.
Meaning if I had the following line
I'm afraid you are losing me. Unlike hiker95, I prefer
small samples (of the critical data only) & expected results, not whole workbooks with lots of data. So can we try with the following sample data? I think (hope) I have retained enough relevant rows, though we may need a little more to demonstrate what you are referring to above.
In this sheet I have removed most rows & as I understand it, only column A is relevant to start with. I know those colored cells will not be coloured either but left that as they will be relevant later.
Book1 |
---|
|
---|
| A |
---|
1 | ID'S |
---|
2 | B0831052 |
---|
3 | B2451610 |
---|
4 | C2727956 |
---|
5 | D1783524 |
---|
6 | D1911054 |
---|
7 | E1367986 |
---|
8 | H0960271 |
---|
9 | J1074420 |
---|
|
---|
Let's suppose you just have this in Workbook 2 - apart from any change/addition as a result of a) below
Book1 |
---|
|
---|
| A | F |
---|
1 | Id's | FreeText |
---|
2 | F0990815 | H0000006 fdsgdgf H0000010 vcbxbv
H00000000001327 |
---|
3 | B2451610 | TamH8767654 B8787654
J1074420Andy_H8727654 B8737654Jonny |
---|
4 | D2233587 | H0000006 fdsgdgf H0000010 vcbxbv
H00000000001328 |
---|
5 | H1402171 | gfffsgbbbbbbbbbbbvc
H0000005fgdgfgfgfgdsdr5646hgfgxhgf |
---|
6 | C2727956 | dfgzdgfg H0000008 H0000006fggffg
H0wqrewqe000001 E1367986 H0000008 |
---|
7 | E1367986 | TamH8767654 C2727956 Andy_H8727654
B8737654Jonny |
---|
8 | F2566913 | gfffsgbbbbbbbbbbbvcH0000005
eargargagagaH0000006fggf |
---|
|
---|
Now, forgetting about ..
- the previous vba code,
- any double-clicking afterwards,
- any perception you have about what you
think might be the best way to proceed
.. can you
a) State
exactly what to add in what sheet and what cell(s) so that we get a situation where "more than one reference number with the same .." is true.
b) Show
exactly what, in an ideal world, you would want on the new worksheet if the change in a) immediately above is included
(If I have not said so already, my signature block below has a link with how to post screen shots like this directly in your post that we can copy from. If that is possible for you it is easier for me, and most other readers, than having to go elsewhere & download files)