[ABC home]    [ABC Archives by Issue]   [ABC Archives by Author]  [Search]  [Privacy]

 

ABC logo
ABC Home

 

Advertise in ABC

Learn more
about
Chas Kenyon
Charles Kenyon

Read
Chas's Archives
Read Chas's Archives

Online classes
at Eclectic Academy
 Instructor led online courses at Eclectic Academy

PowerPoint to Exe
convert PowerPoint presentations to exes

Lock 'n Hide
Folder Security

Hide files and folders in Windows 9X

 

ABC ~ All 'Bout Computers
The Online Web-azine for Computer Enthusiasts
-- brought to you by
Visit Linda's Computer Stop

contents page for this issue

My Newest Book
Excel 2003 Study Guide

published by Wiley
get it at Amazon,
at Barnes & Noble,
or at Borders

 


 Support ABC

Linda's Ebooks
Ebooks on Access, Excel, Outlook, PowerPoint, Publisher, and Word

Linda's CD
Order Linda's CD and learn all of the Office programs

The Newbie Club
Learn all about computers the easy way

Online classes
at Eclectic Academy
 Instructor led online courses at Eclectic Academy

FrontLook
Add-ins
& Screen Capture


 

 

Chas' Word World
~~Charles Kyle Kenyon, J.D.

The Header and Footer Toolbar and AutoText List on that Toolbar

(Headers and Footers and Letterhead Part III)

jump to Word Shortcuts for the Month

This article continues from Headers and Footers and Letterhead Part I and Part II. Although it is not required to understand this article, you may benefit from reading those articles first. This month we'll look at the Header and Footer Toolbar and its buttons. I'll point out some things wrong with it and how to fix them. Finally, we'll examine the AutoText entries on the toolbar and think about improving on them.

The Header and Footer Toolbar

Header-Footer Toolbar in Microsoft Word 97/2000 with captions for buttons.

Buttons on the Header and Footer Toolbar

First, don't think you have to memorize the captions shown above. When you are using the toolbar (if you have Word set to display tooltips, the default setting) Word will give you a name for any button when you put your mouse pointer over the button for a few seconds.

Insert AutoText

Insert AutoText dropdown list on Header / Footer toolbar in Microsoft Word.This isn't really a button (or even a menu) but rather a drop-down list. We'll get into its contents when we get to AutoText.

Insert Page Number

Inserts a { PAGE } field which displays the number of the current page.  If inserted using the button, this will be inserted in the Page Number character style - which may be different from your footer style and a bit disconcerting. You may prefer to press Ctrl-F9, type "Page," and then press F9 to display the page number. This avoids the character style.

Number of Pages

Inserts a { NumPages } field which displays the number of pages in the document.  If inserted using the button, this will be inserted in the Page Number character style - which may be different from your footer style and a bit disconcerting. You may prefer to press Ctrl-F9, type "NumPages," and then press F9 to display the number of pages. This avoids the character style.

Format Page Numbers

Opens the Page Number Format dialog box so that you can use Roman numerals, start on a different page, etc.

Insert Date and Insert Time

Inserts a { DATE \@ "M/d/yy" } field, which is probably not what you want. It will give you the current date (at the time of printing or opening the document - whichever is later) in the format 12/31/01. A better option for this is to insert a { CREATEDATE \@ "MMMM d, yyyy" } field - or whatever your preferred format is. Other options would be the { SAVEDATE } and { PRINTDATE } fields. See How Do I Insert a Date in Word? for more on date fields and formats. If the date is typed in the body of the document anywhere, my preference is to use a { STYLEREF } or { REF } field to pick up that date for the header/footer. That way you don't end up with one date in the body of the document and a different date in the header/footer. See Styles in Letterhead and Headers and Footers for details.

Inserts a { Time \@ "h:mm AM/PM" } field, which is probably not what you want. This will give you the current time (at the time of printing or opening the document - whichever is later) in the format 9:30 AM. Again, you might want to use one of the other date fields with your preferred format for this instead.

Page Layout

Opens the Page Setup dialog box (just as if you had gone to File => Page Setup => Layout). This lets you change things that alter the header/footer such as "Different first page" or "Different odd and even."

Show/Hide (non-header/footer) Text

The default status is to show dimmed text when viewing the headers and footers. If you find this distracting, you can click this button and the dimmed text will disappear from view until you either click on the button again or close the header/footer view.

Same as Previous (Section)

The default setting for this is depressed () so you will likely see it clicked. If it is not enabled (you can't click it) you are in the first (only?) section in your document. Each section in a document can have up to three sets of headers and footers: a general set, a first-page set, and an odd-page set. See Headers and Footers, Sections and Section Breaks for more information on this.

If there is a section following the one in which you want to make a change you have to do it in that section as well unless you want your change to carry into that section. Moreover, Same as Previous is independent for each header and each footer you have (so you have to change it up to six times in each section where you want it changed).

Switch between Header and Footer

This switches between the header and footer of the same type in the same section (the header and footer that would appear on the same page. If it is depressed (), you are in the footer.

Show Previous  / Show Next Header (Footer)

These two buttons will take you to the next header or footer for your document, assuming that header or footer is active. By "active" I mean that it is displayed on a page. As was stated previously, each section of a document can have up to three different sets of headers and footers. If a section has all three types but only has one page, only the first-page header and footer will be available for editing. If you have multiple sections, this will move you to the next or previous section if there are no more headers/footers in the current section.

Close

You may not have noticed, but the Header and Footer toolbar doesn't have the regular close box found on other toolbars (and windows). Instead, it has a Close button on the toolbar. Earlier versions of Word (prior to Word 97) had both, which caused all sorts of problems. The Close button not only closes the toolbar, but also the header/footer view. When you click on the Close button, you will be returned to the view you were in before you selected "Headers and Footers" from the View menu.

Miscellaneous notes that don't fit well with the narrative

  • See Letterhead Textboxes and Styles Tutorial - two-page template download that demonstrates use of 

    • Textboxes in headers and footers to reserve space for preprinted letterhead

    • Styles that are based on each other and use the style for following paragraph feature

    • Use of the StyleRef field to insert information from the body of a letter into the continuation page headers automatically

    • Insertion of a date automatically that will not change when you open the document at a later date

    • The AutoText list restricted by styles for the salutation and closing.

    • Insertion of the typist's name as signer automatically by accessing the Author document property.

  • If you need a header that begins on the second page of a section, use "Different first page" then omit the text in the First Page Header.

  • Fields in headers and footers get updated on a different schedule than do fields in the regular document. See the Microsoft Knowledge Base article Q89953 for more on this.

  • The styles in headers and footers are named (coincidentally) "Header" and "Footer." If you want to change the formatting of your headers and footers, start by modifying these styles. Since I usually use the same fonts and margins in the footer as in the header, I generally have a "Header" style based on [ no style ] that has a negative indent of .5 left and right and is in a font that is two points smaller than body text. The different indents and font size help readers distinguish the header/footer material from the body. I then modify the "Footer" style to be based on the "Header" style. By modifying the styles rather than applying direct formatting I can change the formatting of all headers and all footers in the document.

AutoText and the Header and Footer Toolbar

The Insert AutoText drop-down on the Header/Footer Toolbar

  • This button is a special AutoTextList field and works the same way. It picks up any AutoText entries that were saved while in the Header or Footer styles. The built-in entries include a number of fields useful in headers and footers such as:

AutoText Entry Name

Actual fields (and supporting text)

- PAGE -

[tab]- {Page} -

Author, Page #, Date

{ AUTHOR }[tab] Page {Page} [tab] {DATE}**

Confidential, Page #, Date

Confidential [tab] Page {Page} [tab] {DATE}**

Created by

Created by { AUTHOR }

Created on

Created on { CREATEDATE }

Filename

{ FILENAME }

Filename and path

{ FILENAME \p }

Last printed

Last printed { PRINTDATE }

Last saved

Last saved { SAVEDATE }

Last saved by

Last saved by { LASTSAVEDBY }

Page X of Y

Page { PAGE } of { NUMPAGES }

  • If you want to add AutoText entries to this list, add the entries while you are in the Header style. A few that you might want to it would be for the Template and Template with path, and section number and number of pages in the section. Those fields are { TEMPLATE }, { TEMPLATE \p }, { SECTION } and { SECTIONPAGES } respectively. These could be used show the template attached to the document and section (chapter?) number.

  • If the AutoText bar on your Header / Footer toolbar doesn't have any contents (or doesn't have the entries that you are expecting), the first thing to look at is the style of your paragraph. If it isn't "Header" or "Footer" your expected entries won't be there (or you may have an overwhelming number of non-relevant entries) because this control is set to work with these styles.

  • For more about the AutoTextList field and AutoText, follow my AutoText links.

Page X of Y doesn't Work!

* Page X of Y (using the PAGE and NUMPAGES fields) has been buggy (although improving) through the various versions of Word. The extent to which these fields work (don't work) as well as workarounds available differs depending on your version of Word including which patches you've applied. See Page X of Y doesn't work! or "Page X of Y" displays or prints as "Page 1 of 1," "Page 2 of 2," or "Page 2 of 1" if these fields aren't working for you.

** See Using Date Fields in Microsoft Word for more on different date fields and formatting them. Once you have the field you want, you can add your own AutoText entries. Again, add them in the Header style if you want them to show up on your AutoText button in your headers and footers.

Customizing / fixing the Header and Footer Toolbar

You can change the header/footer toolbar so that it works better for you. You would want to do this in a global template other than normal.dot so that your changes would be portable. See Customizing Word - Part III for more information on changing toolbars and creating global templates. What follows assumes that you have absorbed the material in that article and looks at special problems / opportunities when working with the header/footer toolbar.

First, before you start messing with the toolbar create any AutoText entries you'll want. I would suggest ones for your page number and number of pages buttons that do not carry the "Page Number" character style. These will be the fields suggested above. You could also create an AutoText entry for your preferred date field (or even the StyleRef field). Save these AutoText entries in your global template. The page number fields don't need to be in the Header style since we'll be using them with buttons rather than from the AutoText list. You may want to give the AutoText entries names, though, that won't pop up in your ordinary typing so that you aren't inadvertently inserting page numbers in your documents.

Second,  I recommend creating a new toolbar named "Header and Footer Toolbar Changes" for your use in preparing buttons for the built-in toolbar. This will make it much easier for you to move your changes to a different template in the future.

Third, you need to be in the Header and Footer view to access the toolbar. If you try to make any changes to the toolbar from any other view, you won't be able to find it! While in the Header and Footer view, open the Customize dialog box (Tools => Customize...) and display your custom "Header and Footer Toolbar Changes" toolbar (that doesn't have anything on it yet).

Fourth, with the commands tab on top and showing that you are saving these customizations in your global template, Find the AutoText category on the left side. Then find your AutoText entries in the right window and drag them to your custom toolbar. Right-click on the Header and Footer toolbar button for page number and copy that button image. Paste it on the AutoText entry on your custom toolbar. Do the same thing for the Number of Pages and the Date buttons. Right-click on each of your buttons and rename them if you want so that the names are more meaningful. Don't worry about the names being too long for your toolbar right now; type what you want.

Fifth, in the Customize dialog box, go to the bottom of the left window to find the "New Menu" category and drag a new menu from the right window onto your custom toolbar. Right-click on this and rename it "Pulled from Built-In." Next, holding down the Ctrl key, drag your AutoText entries from your custom toolbar to the Header and Footer Toolbar and put them next to the buttons they are replacing. Then drag the buttons being replaced and put them on your "Pulled from Built-In" menu.

Sixth, right-click on each of your AutoText commands on the Header and Footer toolbar and check "Default style" for the display. Your names will disappear and you'll be left with functioning buttons. You can close the Customize dialog box now.

Seventh, you don't really want to be using your custom toolbar, only the changes you made to the built-in one. You can close it and close the header and footer view in your template. Save your global template. You can add three macros to your global template to keep this custom toolbar out of your way if you want. They are as follows:

Sub AutoExec()

    ' Disable custom toolbar upon loading global template

    CommandBars("Header and Footer Toolbar Changes").Visible = False

    CommandBars("Header and Footer Toolbar Changes").Enabled = False

End Sub

Sub AutoOpen()

    ' Enable custom toolbar when editing global template

    CommandBars("Header and Footer Toolbar Changes").Enabled = True

End Sub

Sub AutoClose()

    ' Disable and hide custom toolbar when done editing global

    CommandBars("Header and Footer Toolbar Changes").Visible = False

    CommandBars("Header and Footer Toolbar Changes").Enabled = False

End Sub

Well, that concludes our work with Headers and Footers and letterhead, at least for now! Please let me know if it has been useful to you.

Keyboard Shortcuts of the Month for Word

Formatting and Styles

Key

What

Ctrl-SpaceBar

Remove character formatting

Ctrl-Q

Remove direct paragraph formatting.

Ctrl-Shift-S

Style Dropdown or dialog

Ctrl-*

Show All non-printing characters toggle

I don't recommend applying direct formatting, especially in templates. Instead, use styles and modify the styles to meet your formatting needs. Your documents will be much less bulky and less prone to corruption. There are character styles for Italic and bold: Emphasis and Strong. That said, some key combinations for directly applying formatting are:

Key

What

Ctrl-B

Toggle bold formatting

Ctrl-Shift-H

Toggle hidden formatting

Ctrl-I

Toggle Italic formatting

Ctrl-U

Toggle underscore formatting

Shift-F3

Change Case

Ctrl-Shift-K

Small Caps

Ctrl-Shift-A

All Caps

Ctrl-+

Superscript

Ctrl-=

Subscript

Ctrl->

Grow Font

Ctrl-<

Shrink Font

Ctrl-]

Grow Font 1 pt.

Ctrl-[

Shrink Font 1 pt.

 

Headings

Headings are a special kind of style and are built into Word at the foundation level. Here are some of the keys for them:

Key

What

Alt-Shift-Left Arrow

Create or promote heading

Alt-Shift-Right Arrow

Create subheading or demote current heading.

Alt-Shift-Up Arrow

When in Outline view, move current heading up.

Alt-Shift-Down Arrow

When in Outline view, move current heading down

Alt-Ctrl-1(-9) ****

Heading Style 1(-9)

**** In Europe Alt-Ctrl-4 has been appropriated for the Euro symbol.

If you want to try getting the keyboard shortcuts all at once, you can take a look at the Microsoft Knowledge Base for Word 97, Word 98, or Word 2000. You can also print the keyboard shortcuts on your computer (including your custom keyboard shortcuts) by picking keyboard commands on the Print dialog box under Print What? (instead of document). The WOPR utilities have a command to create a document showing all keyboard shortcuts (as well as their source). 

Chas Kenyon is a trial lawyer concentrating in criminal defense with a long interest (obsession?) with making word processing work well in the law office.  Visit his home page

Privacy Policy, Disclaimer, and Legal Stuff

Pay Per Click Ads by Pay Per Click Advertising by Kontera

This page was last updated on Tuesday, September 23, 2008 . copyright © 2000 - 2008, Linda F. Johnson, Linda's Computer Stop, ABC ~ All 'Bout Computers. All rights reserved.