Determining amount of empty space at the end of a document ?

M

Mike

Hi! I need to determine the amount of empty space at the end of a document,
so I
could insert a small document into that space.

I need 2 methods:

1) Figure out how to determine a size of any document

2) How to determine the amount of empty space at the end of a document.

Once I get the space available using method # 2 I will search for the best
fit determined by method # 1.

Is it possible at all? I can not find anything in the API docs.


Many Thanks in Advance,

--Michael
 
T

Tony Jollans

What you are asking doesn't really make sense. The amount of empty space can
only be measured relative to some fixed size but documents will grow to hold
more and more content as it is added; they don't have empty space to fill.
 
M

Mike

Hi! Thank you for taking a look. The final Word document will be used by our
printing department. They do not feel that any professional layout package
such as Indesign by Adobe or Quark can give them bang for their bucks.
They just want to use Word to arrange simple layout of future newsletters
consisting of hundreds if not thousands of individual Word documents. That's
where automation comes to play. They will use a legal size paper and just
append one document to another. However, they do not want too many page
breaks.
I hope I was able to explain.

Many Thanks in Advance,

--Michael
 
S

Scott Holmes via OfficeKB.com

Use the .Information method. Works with Selection or Range objects --
allowing you to find the section, page, line number, for example.

To get information on how to use this method: in VBA editor, type: Selection.
Information, select the word 'Information' and press the F1 key. My
apologies if this last tip is too much of a newbie hint for you personally. :
)
 

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