Partager via


PageSetup.PrintTitleRows Property

Returns or sets the rows that contain the cells to be repeated at the top of each page as a string in A1-style notation in the language of the macro.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Property PrintTitleRows As String
    Get
    Set
'Usage
Dim instance As PageSetup
Dim value As String

value = instance.PrintTitleRows

instance.PrintTitleRows = value
string PrintTitleRows { get; set; }

Property Value

Type: System.String

Remarks

If you specify only part of a row or rows, Microsoft Excel expands the range to full rows.

Set this property to False or to the empty string ("") to turn off title rows.

This property applies only to worksheet pages.

See Also

Reference

PageSetup Interface

PageSetup Members

Microsoft.Office.Interop.Excel Namespace