![]() |
#6
|
|||
|
|||
![]()
Even if adding bookmarks to the blank document did work I could not use it because there can be multiple Fields under most of the headings.
I am attaching the Excel file and a blank Word document (with the preset Styles) and a manually created document which shows the desired result after the blank document is populated. CTRL+SHIFT+A from the Excel file is the shortcut to start the process. Running the PopulateWord procedure with "On Error Resume Next" at the start results in all the headings being correct and the paragraphs between them for the Field(s) is correct, just no Fields! Without "On Error Resume Next" the code errors on every ".Fields.Add......" |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Adding the same field in the column field list of pivot table | nanka | Excel | 4 | 03-19-2017 08:12 AM |
Adding a link into a word document that when pressed, takes user to a page within the same document | yan89 | Word | 1 | 04-29-2016 01:54 PM |
Adding tables to Created word document whilst other word document open Help | rpb925 | Word VBA | 18 | 03-30-2016 04:45 PM |
Adding field in word in header in a bookmark in table with Excel vba Late Binding | Hdr | Excel Programming | 6 | 02-11-2013 02:58 AM |
![]() |
Hdr | Excel | 1 | 02-04-2013 04:40 PM |