Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Nancy T.
 
Posts: n/a
Default repeat rows for add'l pages for tabs on a multi-tab worksheet

I have a worksheet with multiple tabs. Each of these tabs is a project and
some are more than 1 page. I'd like to get the rows to repeat on the
additional pages of these reports. Currently, when I "Select All Sheets" the
option to select "Rows to repeat at top" is greyed out.

How can I format this to get the rows to repeat when their are multiple pages?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Dave Peterson
 
Posts: n/a
Default repeat rows for add'l pages for tabs on a multi-tab worksheet

Do it one worksheet at a time.

Nancy T. wrote:

I have a worksheet with multiple tabs. Each of these tabs is a project and
some are more than 1 page. I'd like to get the rows to repeat on the
additional pages of these reports. Currently, when I "Select All Sheets" the
option to select "Rows to repeat at top" is greyed out.

How can I format this to get the rows to repeat when their are multiple pages?


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Gord Dibben
 
Posts: n/a
Default repeat rows for add'l pages for tabs on a multi-tab worksheet

Nancy

As you have found out, you cannot do this with "grouped" sheets.

You need a macro.

Sub repeat_at_top()
Dim ws As Worksheet
For Each ws In ActiveWorkbook.Worksheets
With ws.PageSetup
.PrintTitleRows = "$1:$3"
.PrintTitleColumns = ""
End With
Next ws
End Sub

If not familiar with VBA and macros, see David McRitchie's site for more on
"getting started".

http://www.mvps.org/dmcritchie/excel/getstarted.htm

In the meantime..........

First...create a backup copy of your original workbook.

To create a General Module, hit ALT + F11 to open the Visual Basic Editor.

Hit CRTL + R to open Project Explorer.

Find your workbook/project and select it.

Right-click and InsertModule. Paste the code in there. Save the
workbook and hit ALT + Q to return to your workbook.

Run the macro by going to ToolMacroMacros.

You can also assign this macro to a button or a shortcut key combo


Gord Dibben MS Excel MVP

On Fri, 13 Jan 2006 08:21:03 -0800, "Nancy T."
wrote:

I have a worksheet with multiple tabs. Each of these tabs is a project and
some are more than 1 page. I'd like to get the rows to repeat on the
additional pages of these reports. Currently, when I "Select All Sheets" the
option to select "Rows to repeat at top" is greyed out.

How can I format this to get the rows to repeat when their are multiple pages?


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
rows 1-2 missing from excel worksheet Perplexed Excel Worksheet Functions 1 October 29th 05 03:09 AM
copy rows meeting criteria to another worksheet confused Excel Worksheet Functions 4 October 4th 05 11:51 AM
Excel should let me format worksheet tabs in multiple rows. Fawzi_Masri Excel Worksheet Functions 1 September 19th 05 06:23 PM
Excel should allow me to repeat bottom rows on every page. Bettina Dixon Excel Worksheet Functions 0 May 12th 05 02:56 PM
How to print a worksheet but number the pages by workbook Frank Clayton Excel Discussion (Misc queries) 2 January 10th 05 10:52 PM


All times are GMT +1. The time now is 10:20 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"