![]() |
#1
|
|||
|
|||
![]()
Hello, I am trying to build some kind of database, preferably with an Index at the beginning, using Word documents that already exist.
First, I have around 40 documents that need to be merged into one documents. They are 2 to 3 pages each. Second, I would love if their would be a an index at the beginning of my documents. Preferably in alphabetical order. Third, I would love to be able to add new one that would add themselves in the proper order, both in the index and down the document. Is that even doable in Word? If not, would you suggest some program? I do need to use the original documents though... Thank you. |
#2
|
||||
|
||||
![]()
For VBA code to Combine Multiple Word Documents, see the Combine Multiple Word Documents 'Sticky' thread at the top of the Word VBA forum: https://www.msofficeforums.com/word-...documents.html. The documents will be combined in filename order.
Building a Table of Contents that would reference these documents depends on where, for example, the first paragraph in each source document uses the same Heading Style and that Heading Style is not used anywhere else in any of the source documents. That could be done by inserting each source document's name as the first paragraph in the new Sections created by the macro. That would result in a change to each inserted document's overall layout, however. Otherwise, you would need to employ TC fields (see Field codes: TC (Table of Contents Entry) field - Office Support) so that a Table of Contents field could reference them. These, too, could be inserted programmatically. An alternative approach would be to create an entirely separate document that simply hyperlinks to each of the others, as per: https://www.msofficeforums.com/150273-post4.html In either case, whether any new documents you might create and where they would appear in a Table of Contents on the hyperlinks in an index document depends entirely on where in the: • combined document; or • hyperlinks in an index document, you insert the new one.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#3
|
|||
|
|||
![]()
ok thank you!
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Creating a database in word | snirben | Word | 1 | 12-01-2016 03:24 AM |
![]() |
gn4619 | Word VBA | 2 | 05-21-2015 03:57 AM |
![]() |
Aprilhm14 | Word VBA | 1 | 11-06-2014 10:45 PM |
Is it possible to use an Access Database to merge specified PDF documents into word? | bgranzow | Mail Merge | 3 | 01-07-2014 09:41 PM |
![]() |
marooned | Word VBA | 2 | 07-04-2012 06:37 AM |