PrintRowAndColumnHeader Property
The PrintRowAndColumnHeader property returns or sets if the row and column headers are printed. Returns a Boolean.
Syntax
object.PrintRowAndColumnHeader
object.PrintRowAndColumnHeader = Headers
Parameter | Type | Description |
Headers | Boolean | required, true to print row and column headers |
Example 1
This example returns whether or not row and column headers are printed.
Debug.Print WksPageSetup.PrintRowAndColumnHeader
Example 2
This example prints the row and column headers.
WksPageSetup.PrintRowAndColumnHeader = True
Used by: WksPageSetup object