Share via

Set zoom on startup

Anonymous
2010-12-17T23:39:30+00:00

I tried to write an AutoExec macro to set the zoom to 110% when Word starts. But it doesn't work:

Sub AutoNew()

'

' Set default zoom when Word starts

'

    ActiveWindow.ActivePane.View.Zoom.Percentage = 110

End Sub

How can I fix it?

Microsoft 365 and Office | Word | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Anonymous
2011-01-10T11:45:03+00:00

Open the normal template.Set the zoom. Add a character to the text area. Delete it. Save and close the template. New documents based on the template will now always open at that zoom level.


<john9210> wrote in message news:*** Email address is removed for privacy ***...

Thanks Graham. The macros work fine for new documents (ctrl-n) and opening documents (file/open) but does not control the zoom on startup, that is when I double click winword.exe or its shortcut. What would be the macro for this?

John9210


Graham Mayor - Word MVP

www.gmayor.com

Posted via the Communities Bridge

http://communitybridge.codeplex.com/

Was this answer helpful?

0 comments No comments

6 additional answers

Sort by: Most helpful
  1. Anonymous
    2011-01-07T11:17:43+00:00

    I want to be able to double click the Word icon on my Desktop to start the program and have the blank sheet on screen zoomed to 110% .

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2011-01-06T18:53:54+00:00

    If there is no document open, there can hardly be an ActiveWindow.ActivePane.

    You could try changing your normal template to 110%.

    Why do not have a document open?


    Gerry Word MVP

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2011-01-06T15:15:11+00:00

    I'm still trying to get Word to start to set the zoom to 110%

    I wrote the following macro but it still doesn't work: I get the runtime error 4248: "This command is not available because no document is open".

    Sub AutoExec()

    '

    ' AutoExec Macro

    '' Set default zoom when Word starts

        ActiveWindow.ActivePane.View.Zoom.Percentage = 110

    End Sub

    Was this answer helpful?

    0 comments No comments
  4. HansV 462.6K Reputation points
    2010-12-17T23:43:14+00:00

    AutoNew runs each time you create a new document.

    AutoOpen runs each time you open an existing document.

    AutoExec runs when you start Word.

    Was this answer helpful?

    0 comments No comments