ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Repeating Rows (https://www.excelbanter.com/excel-worksheet-functions/64629-repeating-rows.html)

CarynBTC

Repeating Rows
 
I am trying to figure out a way to repeat multiple rows across multiple
worksheets. I understand how to select rows to repeat in one worksheet. Is
there a way to repeat rows across worksheets? If so, how?

Gord Dibben

Repeating Rows
 
Caryn

Not too clear on this but are you talking about the "Rows to repeat at top"
under the print settings?

If so, unfortunately this is one function that is not available with grouped
sheets(print range is the other one).

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 you are talking about something else, please clarify.


Gord Dibben MS Excel MVP


On Wed, 11 Jan 2006 12:37:02 -0800, "CarynBTC"
.(donotspam) wrote:

I am trying to figure out a way to repeat multiple rows across multiple
worksheets. I understand how to select rows to repeat in one worksheet. Is
there a way to repeat rows across worksheets? If so, how?




All times are GMT +1. The time now is 08:52 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com