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.
by Allen Wyatt
(last updated June 25, 2018)
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:
Figure 1. The Zoom dialog box.
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.
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.
Create Custom Apps with VBA! Discover how to extend the capabilities of Office 2013 (Word, Excel, PowerPoint, Outlook, and Access) with VBA programming, using it for writing macros, automating Office applications, and creating custom applications. Check out Mastering VBA for Office 2013 today!
Dialog boxes normally present information in a series of tabs. If you want to move from tab to tab without taking your ...Discover More
When displaying the information in your document, Word is rather flexible. It can, if you so choose, display multiple ...Discover More
Tired of waiting for a command to finish running? You can use the same shortcut to cancel a command that you use to ...Discover More
FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."
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.