CenterVertically Property

Applies To

PageSetup Object.

Description

True if the sheet is centered vertically on the page. Read-write.

See Also

CenterHorizontally Property.

Example

This example centers Sheet1 vertically when the worksheet is printed.


Worksheets("Sheet1").PageSetup.CenterVertically = True