PageWidth Property Example

This example returns the page width for Document1. The PointsToInches method is used to convert points to inches.

Set doc1set = Documents("Document1").PageSetup
Msgbox "The page width is " _
    & PointsToInches(doc1set.PageWidth) & " inches."