Print same column headings on each page

G

Guest

In Page Setup, Sheet tab, under Print titles, both the "Rows to repeat at top" and "Columns to repeat at left" boxes are greyed out and unavailable. Any clues?
 
G

Guest

If you access Page Setup from the Print Preview, those commands aren't available. Close the Print Prieview and go in to the Setup option from the file menu

tj
 
P

Peter Atherton

-----Original Message-----
In Page Setup, Sheet tab, under Print titles, both
the "Rows to repeat at top" and "Columns to repeat at
left" boxes are greyed out and unavailable. Any clues?
Vino

I don't know why they are unavailable but you can use this
code


Sub ReptRows()
With ActiveSheet.PageSetup
.PrintTitleRows = "$1:$1"
.PrintTitleColumns = "$A:$A"
End With
End Sub

Change to suit. Change name to Sub Before_Print() and copy
it into your Personal Workbook so that it is available for
every workbook if necessary.

Regards
Peter
 
H

Harlan Grove

Peter Atherton said:
....
I don't know why they are unavailable but you can use this
code
....

Code not needed. If the OP started off in Print Preview, then clicked on the
Setup... button, the whole Print Title section of the Sheet tab in the Page
Setup dialog will be greyed out. To set them, it's necessary to use File >
Page Setup... from the menu.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top