Excel 2007 - Print Titles Must Be Contiguous and Complete Rows and Columns

dollarbill13

New Member
Joined
Aug 10, 2005
Messages
10
I have a macro that I use to combine about a hundred worksheets into one excel workbook. When I try to Print or Print Preview the workbook, I get an error saying "Print Titles Must Be Contiguous and Complete Rows and Columns". If I simply go to Page Setup > Sheet and then click "OK", I'm able to then Print or Print Preview. However, I'd prefer to not have to go through that process for each of my sheets. I've tried running a VBA loop to set the Print Errors as blank (as seen below) but it doesn't seem to have any affect. Any ideas?

For x = 1 To ActiveWorkbook.Sheets.Count Step 1
With ActiveSheet.PageSetup
.PrintErrors = xlPrintErrorsBlank
End With
Next x
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
Also, I don't actualy have any print titles set up. The only thing I have is a print area which is set as "C10:Q606". Seems contiguous to me... ?
 
Upvote 0

Forum statistics

Threads
1,214,990
Messages
6,122,625
Members
449,093
Latest member
catterz66

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top