Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default How do I repeat specific rows on some pages and then change for ot

How do I repeat a specific row for 18 pages and then change the repeating row
for
7 other pages in the same worksheet?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default How do I repeat specific rows on some pages and then change for ot

Two print jobs.

You can do it with VBA but it would still be two print jobs.

Example VBA.............revised Ron de Bruin code.

Sub Print_Titles()
Dim TotPages As Long
TotPages = Application.ExecuteExcel4Macro("GET.DOCUMENT(50)")
With ActiveSheet.PageSetup
.PrintTitleRows = "$1:$1"
.PrintTitleColumns = ""
End With
ActiveSheet.PrintOut From:=1, To:=18 'first print job
With ActiveSheet.PageSetup
.PrintTitleRows = "$3:$3"
.PrintTitleColumns = ""
End With
ActiveSheet.PrintOut From:=19, To:=TotPages 'second print job
End With
End Sub


Gord Dibben MS Excel MVP


On Tue, 19 May 2009 15:07:01 -0700, Worker Bee <Worker
wrote:

How do I repeat a specific row for 18 pages and then change the repeating row
for
7 other pages in the same worksheet?


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
Change print titles (rows to repeat at top) on subsequent pages Eric Excel Discussion (Misc queries) 3 April 4th 23 10:12 AM
repeat rows pattern through pages juststarter Excel Discussion (Misc queries) 2 March 17th 06 01:21 PM
How do I repeat rows at the top of specific pages (Excel)? vldanner Excel Discussion (Misc queries) 0 January 16th 06 03:23 PM
repeat rows for add'l pages for tabs on a multi-tab worksheet Nancy T. Excel Worksheet Functions 2 January 13th 06 06:35 PM
Repeat 6 rows, 1 column on many pages in Excel, 6th row cut off? Pelgy Excel Discussion (Misc queries) 0 December 7th 05 08:45 PM


All times are GMT +1. The time now is 07:10 AM.

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

About Us

"It's about Microsoft Excel"