none
How to set page size? (Letter -> A4) RRS feed

Answers

  • Paper sizes are a property of a Document Section. So, to set the active document's paper size for Section 1:

    ActiveDocument.Sections(1).PageSetup.PaperSize = wdPaperA4
    or
    ActiveDocument.Sections(1).PageSetup.PaperSize = wdPaperLetter

    Cheers
    Paul Edstein
    [MS MVP - Word]

    Friday, September 28, 2012 2:09 AM

All replies

  • Paper sizes are a property of a Document Section. So, to set the active document's paper size for Section 1:

    ActiveDocument.Sections(1).PageSetup.PaperSize = wdPaperA4
    or
    ActiveDocument.Sections(1).PageSetup.PaperSize = wdPaperLetter

    Cheers
    Paul Edstein
    [MS MVP - Word]

    Friday, September 28, 2012 2:09 AM
  • Thanks, just to add to this, PageSetup is actually available also on the Document object so I could set it there.
    Friday, September 28, 2012 11:55 AM