Centering the page in center of your monitor

Anonymous
2010-08-30T08:43:41+00:00

How do I center a page in the center of my monitor? I go to view > 1 page, but if I do that, although the page is centered, as soon as I zoom in, the entire page is set off to the left, as if it were in a 2 page view. I want to fix my view at one page, centered in the middle of my screen, with any zoom level I like.

using msword 2010, w7 64, 1920x1080 monitor

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
2010-09-06T09:06:51+00:00

I learn something new about Word every day ...

I have to go out and can't check this properly at the moment (and the behaviour seems a little odd at first glance) but there is a setting in VBA - Zoom.PageColumns - that (partially) controls what you want. I will dig a little further on my return.

Was this answer helpful?

0 comments No comments

65 additional answers

Sort by: Oldest
  1. Anonymous
    2010-09-06T04:12:05+00:00

    Hi Tony,

    Unfortunately I have not used macros in word before, although I have used them occasionally in excel. Do you think a macro attached to normal.dot might work across all (new) documents? (I don't know if this is possible. But it sounds like an interesting approach, if it is.)

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2010-09-06T09:28:45+00:00

    Actually that might work. The following code saved in both an autoopen and an autonew macro in the normal template

    With ActiveWindow.ActivePane.View.Zoom

        .PageColumns = 1

        .Percentage = 50 'set percentage as required

    End With

    (http://www.gmayor.com/installing_macro.htm  will explain how)

    should force the behaviour that he wants.

    <Tony Jollans [MVP]> wrote in message news:*** Email address is removed for privacy ***...

    I learn something new about Word every day ...

    I have to go out and can't check this properly at the moment (and the

    behaviour seems a little odd at first glance) but there is a setting in

    VBA - Zoom.PageColumns - that (partially) controls what you want. I will dig

    a little further on my return.

    "Richard A." wrote in message news:6cfd7af0-6070-4932-844d-b068bd8710e8...

    Hi Tony,

    Unfortunately I have not used macros in word before, although I have used

    them occasionally in excel. Do you think a macro attached to normal.dot

    might work across all (new) documents? (I don't know if this is possible.

    But it sounds like an interesting approach, if it is.)


    Enjoy,

    Tony

    www.WordArticles.com


    Graham Mayor - Word MVP

    www.gmayor.com

    Posted via the Communities Bridge

    http://communitybridge.codeplex.com/

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2010-09-06T12:48:20+00:00

    Graham,

    You are on a roll.  Everything you have posted in this thread has been spot on.

    The only thing I would suggest (and it is the best I can think of at present) would be to add a Class module to pick up and re-center the page following a zoom change on re-entering the document:

    Option Explicit

    Dim oAppClass As New Class1

    Sub AutoNew()

    Set oAppClass.oApp = Word.Application

    With ActiveWindow.ActivePane.View.Zoom

        .PageColumns = 1

        .Percentage = 35

    End With

    End Sub

    Sub AutoOpen()

    Set oAppClass.oApp = Word.Application

    With ActiveWindow.ActivePane.View.Zoom

        .PageColumns = 1

        .Percentage = 35

    End With

    End Sub

    Option Explicit

    Public WithEvents oApp As Word.Application

    Private Sub oApp_WindowSelectionChange(ByVal Sel As Selection)

    Dim i As Long

    With ActiveWindow.ActivePane.View.Zoom

        i = .Percentage

        .PageColumns = 1

        .Percentage = i

    End With

    End Sub

    I looked through the other change events and didn't see anything that might work better.  Any thoughts.


    Greg Maxey --- Visit my website at: http://gregmaxey.mvps.org/word\_tips.htm

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2010-09-06T13:46:22+00:00

    No - that looks good, but the credit goes to Tony for suggesting this obscure option.


    Graham Mayor - Word MVP

    www.gmayor.com

    Posted via the Communities Bridge

    http://communitybridge.codeplex.com/

    Was this answer helpful?

    0 comments No comments