Mark the end of a page?

G

Guest

Hi everybody,
I know that "pages" don't actually exist in Microsoft Word, but I was
wondering, could there be a way to use the margins and layout settings in a
macro to identify the last word on a page (not counting headers or footers)
and then putting a marker after it? It seems like it should be possible, but
I'm not really sure to begin. Does anyone have any ideas how to write a macro
or manipulate Word settings so this can be done? The only other way I can
think of to do this is to go through the documents manually and mark each
place--and at the moment, I'm talking about 78 pages over 10 documents.

Thanks,
Jezzica85
 
G

Graham Mayor

What is the purpose of the 'marker' and what kind of zero width marker did
you have in mind that wouldn't alter the page layout if inserted?

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

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
G

Guest

Hi Graham,
It doesn't necessarily have to be zero width; I just want it to appear after
the last character on the page, so I know when a page ends. I need to save my
file as text for better portability, and I want to remember what the page
structure was so I can display it a different way. Something simple, like a *
or a <>, would be just fine.

Jezzica85
 
G

Graham Mayor

But if you included it in the text layer of the document (otherwise it
wouldn't mark the end of the page) the insertion of the characters would
cause the text on the page to reflow, so that the markers could easily be in
the wrong places. It would be a nightmare to keep control of. What is the
purpose of the exercise? Why do you need to know where the page ends? It
ends where you see the break on screen or paper?

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

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
S

Suzanne S. Barnhill

Jezzica has explained that she needs to save the document in TXT format,
which will cause considerable reflow anyway.

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

Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 
G

Guest

Thanks Graham and Suzanne,
Actually, I doubt there would be a problem with reflow in inserting an end
of page marker. I'm kind of anal, so I've never let a paragraph be split
across pages in my document. Would it be easier conceptually if I said that,
therefore, I need the marker to appear just before the last hard return on a
page? The break needs to be where the page ends on paper--basically, when you
look at Print Layout, 8.5 by 11 paper (letter size), wherever those pages end.

I'm kind of getting the feeling from your replies that that this isn't
possible. Is that what you're getting at, or are you just saying this isn't
easy?

Thanks,
Jezzica85
 
G

Graham Mayor

What we are saying - and what I posted to your later message - is that Word
is not a page layout application. The 'pages' shown are an entirely
artificial concept based on the text flow which is governed by a host of
factors including the formatting and the current printer driver. If you then
go adding characters which take space then inevitably this will affect that
text flow .... and you still haven't explained why you think you need to do
this?

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

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
C

CyberTaz

Hi Jezzica - It seems the issue is that any such marker would have to be a
part of the text flow & can be done, but at least 2 considerations:

1- Any further editing would cause the text to re-flow & the markers would
wind up *not* being at the "end of a page",

2- Saving as a text file would strip such markers from the doc any way as
specialty characters/fields/etc. are not supported by text file format.

If compact portability is your concern, why not just make PDFs or Zip the
docs? Even 10 docs 7-8 pages each can't be all that big a package:)

Regards |:>)
Bob Jones
[MVP] Office:Mac
 
S

Suzanne S. Barnhill

But text file format does support * and <>, the markers suggested by
Jezzica. And it depends what you mean by "portable." If you're trying to
paste text into an online form, having it in a PDF wouldn't help much.

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

Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 
G

Guest

Thanks for all the replies everybody,
I keep thinking that I said what I'm using this for, and I guess I didn't. I
wrote an XML generator in Java, and the markers I would want to put in to the
document would tell me when to put a certain tag in. I'm saving the file as
text so I can use simple input and output.

Thanks again,
Jezzica85
 

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