PageSetup Property

Microsoft Excel Visual Basic

Returns a PageSetup object that contains all the page setup settings for the specified object. Read-only.

Example

This example sets the center header text for Chart1.

Charts("Chart1").PageSetup.CenterHeader = "December Sales"