Select Automatic Table 1 or Automatic Table 2 – the only difference between these options is the heading ( Contents versus Table of Contents).Click the Table of Contents button ( References > Table of Contents).In the Styles Windows, click the New Style button Create a new style with a unique name such as Front Page. Place the cursor where you want to insert the table of contents Procedure In MS Word, open the Styles Window.Insert a clickable table of contents in Word Because the PDF document will also contain clickable hyperlinks. Plus, an automatic table of contents is ideal if you convert your document into PDF format to send to others. This is also useful for you when you’re editing your document. That’s because …Īn automatic table of contents contains ‘clickable’ hyperlinks. Secondly, a reader can quickly navigate to a specific section. How is this accomplished in Word 2016, without having to manually right-click each individual form field and remove the content control It seems fairly ridiculous that there is not a one-click solution. This is especially important for longer documents. Old Word documents with fillable form fields can be 'flattened' using Ctrl-Shift-F9 to convert all fields to plain text. I have created a new style with the same name as the Plain Text Content. The first Plain Text Content Control has the following properties: I do not want the box to be able to be deleted, although this document will NOT be restricted. Useability for a readerĪn automatic table of contents also benefits those who read your document.įirstly, they’ll have an outline of the contents of your document. As you can see above, this is a simple table and in the second column are two Plain Text Content Controls. The same applies when you need to update it. The big difference is that setting up an automatic table of contents only takes a few quick steps. It’s inserted in the same way the ‘structure’ for a manual table of contents is inserted. Instead, an automatic table of contents is the way to go. It doesn’t make sense to work in this way. And if (or when) the contents of your document changes, you must then manually update the table of contents. Document supports two kinds of Content Controls you can use BlockContentControl as a block element, and InlineContentControl as an inline element. You also need to trawl through your document to find corresponding page numbers. This means you must manually add entries. That’s because a manual table of contents only includes the structure for the table of contents. Inserting a manual table of contents is time consuming. Why? Because it doesn’t allow you to create a clickable table of contents in Word. Though for me, this isn’t an option at all, and I would never recommend you do so. Conditional content is variable content determined or defined by a condition. The second option is to insert a manual table of contents. T his Microsoft Word Tips & Microsoft Word Help page consolidates and expands on methods methods previously published on this website for linking document conditional content to a selection made in a document list control. It means anyone reading your document can use the table of contents to click to a specific section. The first is to insert an automatic table of contents. You have two options when adding a table of contents to your Word document. Can’t insert a table of contents in your Word document?.Insert a clickable table of contents in Word.Then, in the developer tab follow these steps. See: Install/Employ VBA Procedures (Macros)įor instructions to employ the VBA code provided above. Highlight the content control that you want to shade. ORng.Start = Selection.Tables(1).Range.End If MsgBox("Do you want to loop to the first control?", vbQuestion + vbYesNo, "Router") = vbYes Thenįor Each oCell In Selection.Tables(1).Range.Cells (1).Range.Selectĭo Until Selection.Cells(1). > 0 The focus does not advance to the next control. Using the tab key in one of these controls enters a physical tab in the control as expected. The following example shows three rich text content controls grouped (nested) in a restricted content rich text control container. Rich text controlsįirst let's look at problems associated with rich text controls. Unfortunately navigating between content controls in documents containing rich text or picture content controls is more problematic. Note: If there are one or more content controls in the document after your assigned "Last" content control then the focus will be set automatically to the content control tagged "First" when you tab out of the "Last" control. Then when you finish in the last content control simply click anywhere in the document and the to exit the content control and the focus will be returned to the content control tagged "First." '"First" = tag property applied to the first control.ĪctiveDocument.SelectContentControlsByTag("First").Item(1).Range.Select '"Last" = tag property applied to the last control. Private Sub Document_ContentControlOnExit(ByVal ContentControl As ContentControl, Cancel As Boolean)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |