Partager via


PageSetup.PrintTitleColumns Property

Returns or sets the columns that contain the cells to be repeated on the left side 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 PrintTitleColumns As String
    Get
    Set
'Usage
Dim instance As PageSetup
Dim value As String

value = instance.PrintTitleColumns

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

Property Value

Type: System.String

Remarks

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

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

This property applies only to worksheet pages.

See Also

Reference

PageSetup Interface

PageSetup Members

Microsoft.Office.Interop.Excel Namespace