Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Page Break After 7 Inches

I have a macro that inserts a footer on the first page only then prints. The
footer is 3.75" tall and shouldn't appear on any other pages so I can't use
the page margins. I can't use insert page break after x number of rows
because my users will be hiding rows depending on the data from an XML
source. Is there a way to insert a page break after 7 inches?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default Page Break After 7 Inches

Beth,
Why not send 2 print jobs; the cover page with the footer and the rest of
the document without the footer.

NickHK

"Beth W" wrote in message
...
I have a macro that inserts a footer on the first page only then prints.

The
footer is 3.75" tall and shouldn't appear on any other pages so I can't

use
the page margins. I can't use insert page break after x number of rows
because my users will be hiding rows depending on the data from an XML
source. Is there a way to insert a page break after 7 inches?



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Page Break After 7 Inches

I tried that within the macro but because the first page footer was 3.75" and
all the other pages were .25" the rows of data that would have printed within
the footer area of the first page were not printed. The only way I was able
to print it correctly was to set the bottom margin to .25" and insert a page
break. Since this is a form that end users will be working with I'm trying to
make it idiot proof.

"NickHK" wrote:

Beth,
Why not send 2 print jobs; the cover page with the footer and the rest of
the document without the footer.

NickHK

"Beth W" wrote in message
...
I have a macro that inserts a footer on the first page only then prints.

The
footer is 3.75" tall and shouldn't appear on any other pages so I can't

use
the page margins. I can't use insert page break after x number of rows
because my users will be hiding rows depending on the data from an XML
source. Is there a way to insert a page break after 7 inches?




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default Page Break After 7 Inches

Beth,
Personally, I have had too much trouble trying to calculate a distance (say
your 7") in Excel with consistent printing results.
You save yourself a lot of trouble by using the first page as a cover sheet
with standard info and you large footer. The data starts on page 2.
Otherwise you would loop over the rows, adding their heights until you
reached 7" and insert a page break.
Set the large footer size, text etc.
Print page 1 only.
Reset the footer the normal size.
Print the other pages.

NickHK

"Beth W" wrote in message
...
I tried that within the macro but because the first page footer was 3.75"

and
all the other pages were .25" the rows of data that would have printed

within
the footer area of the first page were not printed. The only way I was

able
to print it correctly was to set the bottom margin to .25" and insert a

page
break. Since this is a form that end users will be working with I'm trying

to
make it idiot proof.

"NickHK" wrote:

Beth,
Why not send 2 print jobs; the cover page with the footer and the rest

of
the document without the footer.

NickHK

"Beth W" wrote in message
...
I have a macro that inserts a footer on the first page only then

prints.
The
footer is 3.75" tall and shouldn't appear on any other pages so I

can't
use
the page margins. I can't use insert page break after x number of

rows
because my users will be hiding rows depending on the data from an XML
source. Is there a way to insert a page break after 7 inches?






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
Excel 2007 Page Break Adjustments causes a page break each cell BKaufman Excel Worksheet Functions 2 September 10th 10 05:02 AM
How do I do page breaks when view menu doesnt page break preview HeatherF55 Excel Discussion (Misc queries) 0 September 21st 07 04:24 AM
change and/or remove page number watermark in page break preview juga Excel Discussion (Misc queries) 2 December 25th 06 10:15 AM
HOW TO SET PAGE SIZE OF 3 INCHES HIGH BY 5 INCHES WIDE bean guy Excel Discussion (Misc queries) 2 May 23rd 06 07:20 PM
adding a new page break to an existing page break Edward Letendre Excel Discussion (Misc queries) 1 March 6th 05 09:29 AM


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