PageSetup.ScaleWithDocHeaderFooter property (Excel)
Returns or sets if the header and footer should be scaled with the document when the size of the document changes. Read/write Boolean.
Syntax
expression.ScaleWithDocHeaderFooter
expression A variable that represents a PageSetup object.
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.