Contribute to this content
Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.
True if the sheet is centered vertically on the page when it's printed. Read/write Boolean.
A variable that represents a PageSetup object.
This example centers Sheet1 vertically when it's printed.
Worksheets("Sheet1").PageSetup.CenterVertically = True