#1   Report Post  
ZWILLINGE
 
Posts: n/a
Default page breaks


hi,
i have a long list of names (150 and more) that i want to sort (have
done that) and then print one name per page. to insert page breaks i
have dragged the page break to where i want it but it seems there
should be some other short cut to apply that to the whole page. any
suggestions? i tried help and have also tried copying the format but it
has not worked. i'd rather not spend the time dragging 150 page breaks
around!
thanks,


--
ZWILLINGE
------------------------------------------------------------------------
ZWILLINGE's Profile: http://www.excelforum.com/member.php...o&userid=26837
View this thread: http://www.excelforum.com/showthread...hreadid=400816

  #2   Report Post  
Dave Peterson
 
Posts: n/a
Default

You could insert a pagebreak where you want it.

Then select the next location and hit F4 (repeat that action).

Or you could drop the pagebreaks completely and just print each row using a
macro:

Option Explicit
Sub testme()

Dim iRow As Long
Dim FirstRow As Long
Dim LastRow As Long

With ActiveSheet
FirstRow = 2 'headers in row 1???
LastRow = .Cells(.Rows.Count, "A").End(xlUp).Row

For iRow = FirstRow To LastRow
.Rows(iRow).PrintOut preview:=True
Next iRow
End With
End Sub

I used column A to determine the last row to print and did a preview (to save
paper).

If you're new to macros, you may want to read David McRitchie's intro at:
http://www.mvps.org/dmcritchie/excel/getstarted.htm



ZWILLINGE wrote:

hi,
i have a long list of names (150 and more) that i want to sort (have
done that) and then print one name per page. to insert page breaks i
have dragged the page break to where i want it but it seems there
should be some other short cut to apply that to the whole page. any
suggestions? i tried help and have also tried copying the format but it
has not worked. i'd rather not spend the time dragging 150 page breaks
around!
thanks,

--
ZWILLINGE
------------------------------------------------------------------------
ZWILLINGE's Profile: http://www.excelforum.com/member.php...o&userid=26837
View this thread: http://www.excelforum.com/showthread...hreadid=400816


--

Dave Peterson
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
How can I do one-time printing without set page breaks? kewlblondboy Excel Discussion (Misc queries) 2 August 24th 05 02:53 PM
MS Office Excel97: Removing Page Breaks W. Watson Excel Discussion (Misc queries) 2 April 15th 05 11:38 PM
adding a new page break to an existing page break Edward Letendre Excel Discussion (Misc queries) 1 March 6th 05 09:29 AM
How do I keep page breaks for each page in a sheet without the co. notexcellent Excel Discussion (Misc queries) 0 February 9th 05 07:53 PM
Page breaks don't show on screen and don't print separately. It i. Peter Excel Discussion (Misc queries) 1 November 29th 04 04:33 PM


All times are GMT +1. The time now is 10:50 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"