Solved

Marking Text and Linking it to the Header

Posted on 2009-04-02
6
317 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

 

Author Comment

by:ansonindustries
Comment Utility
sorry here it is
linked-address.doc
0
 
LVL 21

Accepted Solution

by:
EricFletcher earned 500 total points
Comment Utility
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
Comment Utility
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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

The Selection object is designed for user interaction. It has a Range property, so it can be used in most places that a Range object can. Recorded macros must use the Selection because they are simply copying what the user is doing. A Range prope…
Preface: When I started this series, I used the term CommandBars because that is the Office Object class that it discusses. Unfortunately, when Microsoft introduced Office 2007, they replaced the standard Commandbar menus with "The Ribbon" and rem…
This video walks the viewer through the process of creating a watermark for their document, customizing it, and saving it for viewing/printing needs.
In a previous video Micro Tutorial here at Experts Exchange (http://www.experts-exchange.com/videos/1358/How-to-get-a-free-trial-of-Office-365-with-the-Office-2016-desktop-applications.html), I explained how to get a free, one-month trial of Office …

771 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

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now