Sets the columns to use for the print titles. These are the columns that will be repeated on each page of a printed worksheet.

(This is not supported for charts.)

 public void SetPrintTitleColumns(int firstColumn, int numColumns)
Public Sub SetPrintTitleColumns(ByVal firstColumn As Integer, ByVal numColumns As Integer)

The 0-based number of the first column to in the print title.

The number of columns to include in the print title.

ps.SetPrintTitleColumns(0, 5);
ps.SetPrintTitleColumns(0, 5)