page height based on text size in doc.

N

Narendra Boga

Hi All,

How to set the page height based on the text in a particular page.

I have 10 pages document. In page no1, full text is there and in page no2
only 6 lines are there and so on. the page no2 should be the size of the
text, the blank white space should not be there. Accordingly, Every page
should set based on the no. of lines. When we see in print preview the page
should be visible only the size of the text.

Nee help. Thanks in advance

Narendar
 
G

Graham Mayor

Not sure what you mean here. In Word text flows into 'pages' set in page
setup. Page setup does not adapt to the amount and size of text. There are
in fact no 'pages' in Word. It is not a page based application. The best you
would be able to manage would be to insert section breaks as required and
format the sections so produced.

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
R

Robert M. Franz (RMF)

Hello Narendra

Narendra said:
How to set the page height based on the text in a particular page.

I have 10 pages document. In page no1, full text is there and in page no2
only 6 lines are there and so on. the page no2 should be the size of the
text, the blank white space should not be there. Accordingly, Every page
should set based on the no. of lines. When we see in print preview the page
should be visible only the size of the text.

what scenario have you in mind, i.e., where do you need this?

There is hardly any built-in facility to support it in Word.

If the document isn't setup so already, you may make each page its own
section, in order to define custom page sizes. This is a manual process,
and I doubt there's an easy macro solution out there.

HTH
Robert
 
N

Narendra Boga

Hi Robert,

Thank You.

I need this for reporting purpose. I prepared one report to send my higher
authorities. Each page is include a different topic. For a small topic it
takes only 10-15 lines, and some take full page. I need to put each topic in
seperate page. When we open the document in print layout view, small topic
page is displying white space after the text. The report viewer need to
scroll to next page as it comes. I used to set this with manual pagesetup.
But, Some Reports may have 20-50 pages, it is hard to set each page
manually.

It need a macro to set all pages based on topic size. I think you
understand what I mean.

Thank You
 
R

Robert M. Franz (RMF)

Hello Narendra

Narendra said:
I need this for reporting purpose. I prepared one report to send my higher
authorities. Each page is include a different topic. For a small topic it
takes only 10-15 lines, and some take full page. I need to put each topic in
seperate page. When we open the document in print layout view, small topic
page is displying white space after the text. The report viewer need to
scroll to next page as it comes. I used to set this with manual pagesetup.
But, Some Reports may have 20-50 pages, it is hard to set each page
manually.

I suggest for the report viewer to look at the document in Draft View.
That seems a great deal simpler than fiddling with pages sizes. You can
force the View when saving and/or with an Auto-Macro. That way, you
simply use a topic heading style that has "Page Break before" set and be
done.

[Keep in mind: the reader might want to print the report, and most
printers will not think favorably of documents with 50 different page
sizes, let alone print them, if all they have is A4 or letter/imperial
pages loaded ...]

HTH
Robert
 
S

Suzanne S. Barnhill

But suppressing white space (as I suggested in my reply) will accomplish the
same thing in Print Layout view.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA

Robert M. Franz (RMF) said:
Hello Narendra

Narendra said:
I need this for reporting purpose. I prepared one report to send my
higher authorities. Each page is include a different topic. For a
small topic it takes only 10-15 lines, and some take full page. I need
to put each topic in seperate page. When we open the document in print
layout view, small topic page is displying white space after the text.
The report viewer need to scroll to next page as it comes. I used to
set this with manual pagesetup. But, Some Reports may have 20-50 pages,
it is hard to set each page manually.

I suggest for the report viewer to look at the document in Draft View.
That seems a great deal simpler than fiddling with pages sizes. You can
force the View when saving and/or with an Auto-Macro. That way, you simply
use a topic heading style that has "Page Break before" set and be done.

[Keep in mind: the reader might want to print the report, and most
printers will not think favorably of documents with 50 different page
sizes, let alone print them, if all they have is A4 or letter/imperial
pages loaded ...]

HTH
Robert
--
/"\ ASCII Ribbon Campaign | MSFT |
\ / | MVP | Scientific Reports
X Against HTML | for | with Word?
/ \ in e-mail & news | Word | http://www.masteringword.eu/
 
R

Robert M. Franz (RMF)

Hello Suzanne
But suppressing white space (as I suggested in my reply) will accomplish the
same thing in Print Layout view.

I was so "sure" it only capped header/footer area, but there you have
it: learned something today, thanks! :)

Narenda: as Suzanne pointed out, that option does exactly what you are
looking for.

HTH
Robert
 
S

Suzanne S. Barnhill

I find it convenient but very deceptive because I have no idea how much
space I have remaining on a short page. Luckily only a single click is
required in Word 2003 to toggle between views to see whether I have a few
more lines I can cram things into!
 
N

Narendra Boga

Thanks All,





Suzanne S. Barnhill said:
I find it convenient but very deceptive because I have no idea how much
space I have remaining on a short page. Luckily only a single click is
required in Word 2003 to toggle between views to see whether I have a few
more lines I can cram things into!

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top