Gets 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.
[Visual Basic] Property PrintTitleColumns As String [C#] string PrintTitleColumns { get; set; } [C++] __property String* get_PrintTitleColumns(); __property void set_PrintTitleColumns(String* ); [JScript] function get PrintTitleColumns() : String function set PrintTitleColumns(String);
Set this property to the empty string to turn off title columns.
This example defines row two as the title row, and it defines columns one through two as the title columns.
[C#]
book.Worksheets[1].PageSetup.PrintTitleRows = "$2:$2";
book.Worksheets[1].PageSetup.PrintTitleColumns = "$A:$B";
[Visual Basic]
book.Worksheets(1).PageSetup.PrintTitleRows = "$2:$2"
book.Worksheets(1).PageSetup.PrintTitleColumns = "$A:$B"
[C++]
book->Worksheets->Item[1]->PageSetup->PrintTitleRows = S"$2:$2";
book->Worksheets->Item[1]->PageSetup->PrintTitleColumns = S"$A:$B";
IPageSetup Interface | NativeExcel Namespace | PageSetup Property | PrintTitleRows Property | SetPrintTitleColumns Method | PrintTitleColumnsDefined Property