Re: Hot keys to zoom in and out
- From: "Jay Freedman" <jay.freedman@xxxxxxxxxxx>
- Date: Tue, 6 Oct 2009 09:40:35 -0400
I'd really like to know what commands you had assigned to those keys in Word
2003 -- if they're built-in commands, I'm not aware of them.
You can assign the shortcut keys to these two macros in either version:
Sub ViewIncreaseZoom()
ActiveWindow.View.Zoom = ActiveWindow.View.Zoom + 10
End Sub
Sub ViewDecreaseZoom()
ActiveWindow.View.Zoom = ActiveWindow.View.Zoom - 10
End Sub
Their behavior is almost but not quite the same as the buttons on the Zoom
bar (which have no equivalents in Word 2003). The difference appears if the
current zoom setting isn't a multiple of 10%; in that case the first click
of a button sets the zoom to the nearest multiple of 10%, and later clicks
change it by 10. The macros just add or subtract 10% from whatever the
current value is. The additional logic could be added if you really want it.
--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
O.Z. wrote:
Thanks for your response, Lene. I've visited the Customize Keyboard
dialog already and have found ViewZoomPageWidth, ViewZoomTwoPage,
ViewZoomWholePage and Zoom100 commands, but what i would like to
accomplish is to invoke from keyboard the behavior I get when I click
on + and - buttons on Zoom toolbar (in the lower right corner of the
Window by default).
Customize dialog doesn't allow searching, maybe I've missed the
commads?
"Lene Fredborg" wrote:
I think the shortcuts you used in Word 2003 were created by yourself
and you can assign the same shortcuts in Word 2007 if you wish:
Select Office button > Word Options > Customize. In the bottom of the
window, you will find a "Customize" button next to "Keyboard
shortcuts". Click that button to open the Customize Keyboard dialog
box known from previous Word versions.
Now follow the instructions in steps 2-7 in the following article
(first and last steps are for previous Word versions). The names of
the zoom commands depend on the language of your Word user
interface. If it is in English, the names start with "ViewZoom":
http://www.word.mvps.org/FAQs/Customization/AsgnCmdOrMacroToHotkey.htm
Make sure to select "Yes" when exiting Word if you are asked whether
you want to save changes to the template (e.g. Normal.dotm) in which
you selected to store the shortcut(s).
--
Regards
Lene Fredborg - Microsoft MVP (Word)
DocTools - Denmark
www.thedoctools.com
Document automation - add-ins, macros and templates for Microsoft
Word
"O.Z." wrote:
Hi,
I'm very much used to zooming in and out using Ctrl + Numeric
keyboard '+' and '-' buttons. But in Word 2007 these shortcuts
don't work and I have found neither the correct hot keys nor a way
to assign my own to this behavior. Looks like my only option is to
F6 to zoom toolbar and then manipulate it using navigation keys.
Is there indeed no way to ergonomically zoom documents in and out
w/o a mouse?
.
- Follow-Ups:
- Re: Hot keys to zoom in and out
- From: O.Z.
- Re: Hot keys to zoom in and out
- References:
- Hot keys to zoom in and out
- From: O.Z.
- RE: Hot keys to zoom in and out
- From: Lene Fredborg
- RE: Hot keys to zoom in and out
- From: O.Z.
- Hot keys to zoom in and out
- Prev by Date: Re: _doc files
- Next by Date: Re: Content Controls
- Previous by thread: Re: Hot keys to zoom in and out
- Next by thread: Re: Hot keys to zoom in and out
- Index(es):
Loading