Access.2007.VBA.Bibl..

(John Hannent) #1

Bookmarks ................................................................................................................


As an example of using bookmarks in a Word template, I created a template designed to print on a
certain type of paper (Paper Direct Milano), with a header and footer, several fonts, and two sec-
tions, the first for the letter itself and the second for a matching COM 10 envelope. I placed several
bookmarks in the letter portion of the template, where the letter date, name and address, and salu-
tation should print, and cross-reference fields in the envelope portion, to print the name and
address there, as well as a PostNet ZIP bar code.

This chapter uses the new .dotx Word 2007 template format, which creates a document
of the .docx type. Documents in this new Word format can only be used by people run-
ning Office 2007, so if you need to distribute Word documents to people running older versions of
Office, it is best to use the .dot template format, and create .doc documents, which are usable in
Office 97 through 2007.

WARNINWARNINGG


Creating Word Documents from Access 2


Working with Word User Information Fields


Y


ou can place Word UserName and UserAddress fields in the document header to print your
name and address. If you have used these fields in previous versions of Word, you may have dif-
ficulty locating them in the new Word 2007 interface, especially because Microsoft has chosen to
put them in different places (in Word 2003, they were all conveniently located on the User
Information tab of the Options dialog). In Word 2007, the user name is entered in the User Name
field on the Personalize page of the Word Options dialog, which is opened from the Word Options
button on the File menu.

Entering the user name in the Word Options dialog.

continued
Free download pdf