Microsoft Office Forums

Go Back   Microsoft Office Forums > Microsoft Word > Mail Merge

Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 01-08-2018, 07:38 AM
vandelayindies vandelayindies is offline Windows 10 Office 2016
Novice
 
Join Date: Jan 2018
Posts: 1
vandelayindies is on a distinguished road
Default Include Table of Contents by Mail Merge Field

Hi, I am working on a mail merge project where I want each page of the document to have this information with some room for notes. A screenshot is below.





I would like to add a Table of Contents to the overall document based on the name field. To do this, I styled the Name fill-in spot as Heading 1 so that it would flow through to the TOC. However, it loses the Heading 1 designation when I pass it through the mail merge. Any ideas on how to overcome this?
Reply With Quote
  #2  
Old 01-08-2018, 03:06 PM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 19,199
macropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to behold
Default

How are you applying the Heading 1 Style? When I apply it to a mergefield, the Style s preserved through the merge. Do note, though, that you will lose the Style definition if you've applied it to only part of the paragraph - it must be applied to the entire paragraph. In that regard, if you don't want 'Name:' to be included, that should be in a separate paragraph, which you can then 'merge' with the paragraph containing the mergefield via a Style Separator or by formatting the paragraph break for the 'Name:' paragraph as hidden text.
__________________
Cheers,
Paul Edstein
[MS MVP - Word]
Reply With Quote
Reply

Tags
mail merge, table of contents

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I mail merge records into table columns with more than one merge field? tech123 Mail Merge 1 04-26-2017 07:13 PM
Extend a Table of Contents to include a new column ClarkeCare Word 2 01-03-2017 02:15 AM
Can't get Table of Contents to Include All Chapters CrossReach Word 2 11-10-2016 01:59 PM
Mail merge to table, new page/doc when field chnges grumpybattler Mail Merge 5 05-19-2015 04:13 PM
Include headers in table of contents bwhight Word Tables 1 10-10-2006 08:59 AM


All times are GMT -7. The time now is 07:12 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
MSOfficeForums.com is not affiliated with Microsoft