Solved

Marking Text and Linking it to the Header

Posted on 2009-04-02
6
321 Views
Last Modified: 2012-08-14
I have a letter with two address'.  I would like to use the TOC field method in linking one address to show up as the page header of the following pages.

Page one has From and To address.
Page 2,3,4 have headers.  I would like to take the "To" address and link it automatically to the headers in those pages.  So each time i change the address the headers info should also change.

please advise.
0
Comment
Question by:ansonindustries
  • 3
  • 2
6 Comments
 
LVL 76

Expert Comment

by:GrahamSkan
ID: 24055595
Can't think how a TOC would do what you need.

You could bookmark the address and then use a Ref field to echo the data.

On the layout tab of the Page Setup dialogue or in the Header/Footer ribbon, choose different Different First Page. Then navigate to page 2 and insert the Ref Field pointing to the new bookmark.

If your document is longer than four pages and you need later pages not to show the address, you will have to insert a section break at the end of page 4.

Note that fields need to be updated to reflect any changes. Selecting the whole document and pressing F9 will do that.


0
 
LVL 21

Expert Comment

by:EricFletcher
ID: 24060545
If the To address can be set as a single paragraph with a style, you can include it in a page header with the STYLEREF field.

My letter template sets the addressee name as a style ("Addressee"), and the rest of the address lines as "AddressTo", so my 2nd & subsequent pages can include a page header with fields as follows:

    { STYLEREF "Addressee" }
    { STYLEREF "LtrDate" }
    Page { PAGE } of { NUMPAGES }

This creates a 3-line header consisting of the addressee name followed by the date used for the latter (tagged with the "LtrDate" style) and "Page 2 of x".

The STYLEREF field code will pull all of the content of the named style, so if you want the full address, you'd need to use Shift-Enter at the end of each address line so it is all one paragraph.
0
 

Author Comment

by:ansonindustries
ID: 24060971
I have to admit im not very familiar with the field code system so attached is a copy and the red colored address is what i would like to show up.  
0
Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 

Author Comment

by:ansonindustries
ID: 24060977
sorry here it is
linked-address.doc
0
 
LVL 21

Accepted Solution

by:
EricFletcher earned 500 total points
ID: 24061302
The "v2" version attached shows how it works. I created a new style (Addressee) and applied it to the address after changing the ¶s to a new-line (Shift-Enter). The field code needs to be inserted via the menu (or created with the Ctrl-F9 method; see Help). You can toggle between the view of the codes and the results with Alt-F9.

Incidentally, you could make your life a lot easier if you learn how to use styles. Your document is created entirely with the Normal style and direct formatting. Styles can give you a lot more control, and provide access to features within Word that are otherwise quite complicated -- such as this field code example.
linked-address-v2.doc
0
 

Author Closing Comment

by:ansonindustries
ID: 31566043
Excellent works great. Yes i have to admit im a novice when it comes to word.  For the most part its mainly used for typing up letters and i rarely get into more fancy stuff.  None the less i did some reading and found out more about field codes.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There is a feature provided by MS Word that lets you create an Table of Contents for your Word document automatically. To use this feature for other documents there are two steps involved,   1.  Prepare your document for a table of contents (he…
It is often necessary in this forum and others to illustrate Word fields as text with the field delimiters replaced with the curly brackets that the delimiters resemble when field codes are being displayed on the document. This means that the text c…
This video walks the viewer through the process of creating an MLA formatted document, as well as a bibliography with citations.
This video shows where to find the word count, how to display it, and what it breaks down to in Microsoft Word.

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question