![]() |
|
#3
|
|||
|
|||
|
Thanks -- the tables are not in one document (but I can, of course, copy them into one document if it is easier then to merge them).
There is, unfortunately, no certain character separating the country from the rest of the text (that's why I came up with the 13 characters - but that should not be a problem in VBA to see if the first 13 characters of two cells match...). Merging and sorting as you suggested does not work, unfortunately, because this would mean that I still have 4 columns... As I said, I would like to have 8 columns afterwards: "...then I would like to put column 1 of table 1, then column 1 of table 2, then column 2 of table 1, then column 2 of table 2, etc. (until all columns are next to each other, i.e. until column 4 of both tables)" So it is actually as easy as I said: - checking if we have a match in column 1 (first 13 characters) - if yes: putting column by column from each table - if no: putting column by column but leaving the cells of that table blank which did not have the country... Can anybody code this? Thank you. Best, Fin |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Merging different documents in one big document keeping the chapters, figure numbers and tables | village | Word | 8 | 06-06-2016 04:16 AM |
Word - Merging from Access
|
kevinegg45 | Mail Merge | 2 | 10-30-2012 09:10 AM |
Avoid merging tables
|
b0x4it | Word | 4 | 06-14-2011 10:01 PM |
| Merging Multiple Word files into One | Stattovic | Word | 0 | 01-06-2010 07:19 AM |
| HELP! Merging Excel to Word | peevenjo | Mail Merge | 0 | 07-06-2007 03:24 PM |