We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Print titles must be contiguous...

Using XlsIO ver 7.303.0.20 and code like:
sheet.PageSetup.PrintTitleRows = "$A$1:$IV$5";

Leads to an Error in Excel 2007 of:
Print titles must be contiguous and complete rows or columns.

Anyone else experiencing this and know of a way to correct it?



1 Reply

GM Geetha M Syncfusion Team July 27, 2009 11:50 AM UTC

Hi Roderick,

I was able to see the problem. This occurs as both Rows and Columns are used to Print Title. As mentioned in the forum linked below, please use Rows to print in the top and Columns to print in the left:

Print

sheet.PageSetup.PrintTitleRows = "$1:$5";
sheet.PageSetup.PrintTitleColumns = "$A:$IV";

Please try this and let me know if you have any questions.

Regards,
Geetha

Loader.
Live Chat Icon For mobile
Up arrow icon