This example defines row two as the title row, and it defines columns one through two as the title columns
Pastabos
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
Workbook.Worksheets[
].PageSetup.PrintTitleRows :=
'$2:$2'
].PageSetup.PrintTitleColumns :=
Workbook.Worksheets[1].PageSetup.PrintTitleRows := '$2:$2';
Workbook.Worksheets[1].PageSetup.PrintTitleColumns := '$A:$B';