Please Note: This article is written for users of the following Microsoft Word versions: 97, 2000, 2002, and 2003. If you are using a later version (Word 2007 or later), this tip may not work for you. For a version of this tip written specifically for later versions of Word, click here: Zooming with the Keyboard.

Zooming with the Keyboard

Written by Allen Wyatt (last updated June 8, 2019)
This tip applies to Word 97, 2000, 2002, and 2003


2

For most purposes, Word allows you to issue commands and perform functions by using either the mouse or the keyboard. Unfortunately, Word does not provide "equal access" for all commands. For instance, it is relatively easy to zoom in or out using the mouse, but there is no easy way to do it using the keyboard.

Apparently, Microsoft feels that you can zoom simply by choosing the menu commands necessary and then typing whatever percentage you desire. The steps to do this would be as follows:

  1. Press Alt+V. This displays the View menu.
  2. Press Z. This displays the Zoom dialog box. (See Figure 1.)
  3. Figure 1. The Zoom dialog box.

  4. Press Tab. This moves the cursor to the Percent box.
  5. Type a new zoom percentage.
  6. Press Enter.

While this provides quite a bit of flexibility, it does not allow you to easily zoom in or out. If you want this ability in Word, the only way to get it is to create a macro and then assign the macro to a keyboard combination. For instance, the following macro will zoom into (enlarge) a document by 10%.

Sub MyZoomIn()
    Dim ZP As Integer
    ZP = Int(ActiveWindow.ActivePane.View.Zoom.Percentage * 1.1)
    If ZP > 200 Then ZP = 200
    ActiveWindow.ActivePane.View.Zoom.Percentage = ZP
End Sub

Notice that the macro only allows you to zoom in up to 200%. This is because Word allows you to only zoom that high, and any higher would generate an error. A slight variation on the same theme results in a macro I call MyZoomOut. It zooms out of (reduces) a document by 10%:

Sub MyZoomOut()
    Dim ZP As Integer
    ZP = Int(ActiveWindow.ActivePane.View.Zoom.Percentage * 0.9)
    If ZP < 10 Then ZP = 10
    ActiveWindow.ActivePane.View.Zoom.Percentage = ZP
End Sub

This macro sets the bottom boundary at 10%, which is the smallest you can go. Any smaller, and Word would generate an error again.

The final trick to make these macros really useful is to assign them to a keyboard combination. You can then quickly zoom in or out by 10% with a simple keystroke. How you assign a macro to a keyboard combination is covered in other issues of WordTips.

Note:

If you would like to know how to use the macros described on this page (or on any other page on the WordTips sites), I've prepared a special page that includes helpful information. Click here to open that special page in a new browser tab.

WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (1734) applies to Microsoft Word 97, 2000, 2002, and 2003. You can find a version of this tip for the ribbon interface of Word (Word 2007 and later) here: Zooming with the Keyboard.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Changing the Size of a Graphic

Word allows you to add more than text to your documents; you can also add graphics. Once added, you can modify the size ...

Discover More

Formatting Footnote and Endnote References

Depending on whom you are writing for, you may want your footnote and endnote references to appear a specific way. Word ...

Discover More

Determining a Name for a Week Number

You could use Excel to collect data that is useful in your business. For instance, you might use it to collect ...

Discover More

Comprehensive VBA Guide Visual Basic for Applications (VBA) is the language used for writing macros in all Office programs. This complete guide shows both professionals and novices how to master VBA in order to customize the entire Office suite for their needs. Check out Mastering VBA for Office 2010 today!

More WordTips (menu)

Reveal Codes in Word

While there are no true Reveal Codes in Word, as in WordPerfect, as they are vastly different word processors, there is a ...

Discover More

Direction Arrows Confused

What do you do if you open a document, only to find that the arrow keys don't work the way that they should? The first ...

Discover More

Word's Native Measurement Unit

Word allows you to specify distances using a number of different measurement units. Figuring out how those measurement ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is two more than 7?

2020-12-31 22:48:46

Tarun Mahajan

while using this macro I am getting this error:
"object variable or with block variable not set"
can you please reply on my email id, how to solve this problem ?


2019-07-26 13:48:31

UsWhoNeedThisGuyToUpdateSol.ToWords2019

Just...Make the solution 2019 Please, or make like a various version on one page, please


This Site

Got a version of Word that uses the menu interface (Word 97, Word 2000, Word 2002, or Word 2003)? This site is for you! If you use a later version of Word, visit our WordTips site focusing on the ribbon interface.

Videos
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.