Repeat Title Row every Page

Kavy

Well-known Member
Joined
Jun 25, 2007
Messages
607
Does anyone know how to using excel vb repeat a row of a worksheet at the top of a page, ever page?
Thanks
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
Is this for printing purposes?

And what do you mean by a 'page' exactly?
 
Upvote 0
Click on File, then Page Setup
Click on the Sheet tab
Under Print Titles:
After Rows to repeat at top:, you can either then click the icon next to this box and select your row, or type it in, like for row 1, $1:$1
Click OK
 
Upvote 0
This is for printing Purposes
And thanks for the help, but still small problem i need to do it with code, because the row that will be my header will change...

Anyone know how?

Thanks again?
 
Upvote 0
Try recording a macro when you do what HOTPEPPER suggests.

That should generate code that can be adapted to suit.

To give specific code we would need to know how the header(s) might change.
 
Upvote 0
The row that I would like to keep might change because depending on what check boxes are click another table sorta appears above it.. using insert rows.

Besides Recordng a marcro is this possible?

the row its on if nothing is inserted above is 9. I have a counter "insrow" which counts how many rows are inserted above it.

When It prints the header will be on row 9 + insrow

Any idea?
 
Upvote 0
Eh, 'sorta' doesn't really help.:)

Don't think it's a VBA method/property/keyword.:)
 
Upvote 0
ha sorry

How it works is, if a check box is checked, a another table appears above it.

The displacement for the because of this for the row i want to appear on many pages is measure by a variable insrow, which is 0 if the check box isn't check.
 
Upvote 0

Forum statistics

Threads
1,213,544
Messages
6,114,249
Members
448,556
Latest member
peterhess2002

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