locked
How to set Macro command for the ZOOM setting? RRS feed

  • Question

  • I like to set Macro for the ZOOM setting like 124% with one button.

    How to solve this?Need help.

    Friday, July 28, 2017 8:55 AM

Answers

  • Thank you for the update.

    Could you help mark the reply that helps as the answer?

    Regards,

    Steve Fan


    Please remember to mark the replies as an answers if they help and unmark them if they provide no help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.


    • Edited by Steve Fan Monday, October 2, 2017 5:39 AM
    • Marked as answer by toplisek Thursday, October 5, 2017 12:59 PM
    Monday, October 2, 2017 5:39 AM

All replies

  • Create the following macro in your Normal.dotm template:

    Sub Zoom124()
        ActiveWindow.ActivePane.View.Zoom.Percentage = 124
    End Sub

    You can add this macro to the Quick Access Toolbar or to a custom group of a ribbon tab.


    Regards, Hans Vogelaar (http://www.eileenslounge.com)

    • Proposed as answer by Steve Fan Monday, July 31, 2017 8:08 AM
    Friday, July 28, 2017 10:29 AM
  • Hi,

    Have you got an opportunity to try Hans's suggestion? If you would like further assistance on this issue, please don't hesitate to post back.

    Regards,

    Steve Fan


    Please remember to mark the replies as answers if they helped.

    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Monday, July 31, 2017 8:09 AM
  • Hans has answered your question. Stepping back a bit, though, have you added the zoom and zoom slider to your status bar? (Right-click on the status bar at the bottom of the page.) You may not need a macro.

    Charles Kenyon Madison, WI

    Tuesday, August 1, 2017 12:54 PM
  • I have testes your post and it works perfect. As it is connected to other Macro settings I have included into existing.

    Thank you.

    Thursday, August 17, 2017 10:48 AM
  • Thank you for the update.

    Could you help mark the reply that helps as the answer?

    Regards,

    Steve Fan


    Please remember to mark the replies as an answers if they help and unmark them if they provide no help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.


    • Edited by Steve Fan Monday, October 2, 2017 5:39 AM
    • Marked as answer by toplisek Thursday, October 5, 2017 12:59 PM
    Monday, October 2, 2017 5:39 AM