Changing Focus when Starting to Print

by Allen Wyatt
(last updated March 6, 2021)

4

Frank just migrated from Office 2007 to Office 365. In Word 2007 when he pressed Ctrl+P, the focus would be in the Copies field and he could simply type the number of copies to print. In Office 365 the focus is on the Print button, not the Copies field. This change slows down the way that Frank prints documents, so he wonders if there is any way to change the focus back to the Copies field, by default.

There are times when I'm convinced that Microsoft changes things—small, seemingly simple things—just to see if users are awake. This may be one of those instances. Frank's frustration is understandable, but there is no way to change what has initial focus. Perhaps the easiest way to handle the situation is to simply remember to press Tab immediately after pressing Ctrl+P. The addition of the single keystroke moves the focus to the Copies field, and the number of copies can then be entered as was traditionally done.

If that is still too frustrating, you could create a macro that will pull up the Print options and press Tab for you. The following macro will do a trick:

Sub StartPrint()
    Dim sTemp As String

    sTemp = "^p{TAB}"
    SendKeys (sTemp)
End Sub

To make it work without slowing you down, you can assign the macro to the Quick Access Toolbar or to a keyboard shortcut. If you choose the latter approach, you will want to make sure that you don't assign it to the Ctrl+P shortcut. Doing so will cause you to quickly realize your mistake, as once you press Ctrl+P, the macro will go into an endless loop as it issues a Ctrl+P just as if you had. Instead, assign it to a different keyboard shortcut and you should have no such problem.

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 (13830) applies to Microsoft Word Word in Office 365.

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

Canceling Printing

Need to stop the printing of a long document? Here's how to stop Word, along with why stopping Word may not be the only ...

Discover More

Disappearing Toolbar Buttons for Macros

One of the important configuration files for Excel is known as the XLB file. You should periodically make backups of this ...

Discover More

Decimal Tab Alignment

If you are familiar with decimal tabs in Word, you may wonder if you can set the same sort of alignment in Excel. The ...

Discover More

The First and Last Word on Word! Bestselling For Dummies author Dan Gookin puts his usual fun and friendly candor back to work to show you how to navigate Word 2013. Spend more time working and less time trying to figure it all out! Check out Word 2013 For Dummies today!

More WordTips (ribbon)

Automatic Font Color Won't Print Properly

Imagine that you go to print your document and all the text you can see on the screen just isn't there on the ...

Discover More

Printing Multiple Documents in a Sorted Order

Both Word and Windows provide ways you can print multiple documents in a single batch. Getting those documents printed in ...

Discover More

Margins Incorrect when Printing

If you notice that the margins on a printout aren't the same as those you have set within Word, there could be any number ...

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}] 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 three less than 3?

2021-03-07 10:52:50

Tomek

The SendKeys statement is tricky to use and may easily cause uncontrolled effects.


2021-03-07 10:38:21

Tomek

Hi Ken,
Unluckily, Alt+"a letter " or even Alt + "period" do not work as the keys sent become Alt+Ctrl+P followed by Alt+Ctrl + TAB, and that invokes windows switcher. So for this macro you are limited to only combination of keys with Ctrl.


2021-03-07 06:44:30

Ken

Tomek,

If you use ALT + "a letter" as the shortcut, there are plenty of combinations available. Use one of the letters near the ALT key so that it can be executed with one hand without stretching the fingers far apart.


2021-03-06 13:59:39

Tomek Dluzniewski

I found that it is not that straightforward to assign a keyboard shortcut to this particular macro. Any Ctrl+letter (Except Ctrl+P) will work but all of them are already assigned to other functionalities. You may chose one that you will not likely need, but I prefer avoiding it.

The problem seems to be that you cannot assign combinations Ctrl+Shift, Ctrl+Alt, or Ctrl+Alt+Shift with a keystroke. At least on my machine it results in some weird effects, like opening an unrelated dialog box or opening the windows switcher. I think it has to do with sending either the Ctrl^P character or Ctrl^TAB while additionally a Shift, Alt, or both Shift and Alt are depressed; this results in actually sending Ctrl+Shift+P, Ctrl+Alt+P followed by Ctrl+Alt+TAB, or Ctrl+Al+Shift+P followed by Ctrl+Al+Shift+TAB.

Anyway, the macro given can only be assigned to a combination of Ctrl+KEY. As all letter keys are already assigned, what is left are keys like (period), (semicolon), 7,8, or 9. You can also try some numeric keyboard keys - they are not the same as number-row keys; this is not a solution for laptops without numeric keyboard though.
Cheers,
PS: Please post a comment to my comment if you found it useful, or send me a note (I un-hid my e-mail address).
Tomek Dluzniewski


This Site

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

Newest Tips
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.