Share via

Any variable in Microsoft Word which could display the first word of the next page?

Anonymous
2014-05-13T15:28:29+00:00

Hi all,

Is there any variable in Microsoft Word which could display the first word of the next page, like these:

You may notice that the first word captured reserves the format of that word being used in the next page.

I don't know if the author of this document used any variable to achieve that.  However, as a civil servant, I always have to imitate such format by manually type it at the end of each page in most of the correspondence.  This is annoying when I made a moderate changes in the documents as I have to correct all the captured words.

I have searched the internet however failed to find any solution for it.  Would be grateful if anyone who could shed light on it. Thank you!

Microsoft 365 and Office | Word | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Anonymous
2014-05-14T10:59:03+00:00

These are called catchwords, which may help your search, but start at http://www.gmayor.com/catchwords.htm

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

5 additional answers

Sort by: Most helpful
  1. Anonymous
    2014-05-15T05:26:38+00:00

    Thanks for the heads up - I will add that note.

    P.S. Added :)

    Was this answer helpful?

    0 comments No comments
  2. Jay Freedman 207.7K Reputation points Volunteer Moderator
    2014-05-14T18:10:28+00:00

    Graham, thanks for that solution.

    You should probably add to the cautionary note that precedes the macro code, that changing the selected printer could also require rerunning the macro to insert the bookmarks. That includes switching from a physical printer to a PDF creator that functions as a printer driver.

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2014-05-13T23:37:32+00:00

    I also don't have a solution for you but conceptually a styleref field in the footer would be a way to do it. This threadcontains a macro created by macropod which gives you a vital component of the concept:

    1. Create a character style (with no formatting) and apply it to the first word of every paragraph in the document (using the macro in the link)
    2. Create a styleref field in the footer that points to that character style

    Now the problem with this is that I don't know of a way to get Word's styleref field to look forward to the next page. As far as I know, it only looks on the current page or earlier (a switch makes it go from the bottom of the page but that is not quite right). Perhaps a macro could be created to take a copy of the completed document and re-arrange the content so the 'page order is reversed'. This would allow the styleref field to do the job but would then require fancy footwork with the page number field to get them counting backwards too. The output could then be sent to a PDF in reverse order to 'correct' the document.

    IMO that pathway is all way too hard and your need would have to be truly huge to consider doing it that way.

    A more straightforward concept would be to create a macro which adds a floating text box on each page and contains the required content. This macro could be run prior to publishing and would most likely not require a great deal of work to create.

    Was this answer helpful?

    0 comments No comments
  4. Jay Freedman 207.7K Reputation points Volunteer Moderator
    2014-05-13T21:13:44+00:00

    The closest Word can come to this requirement is the StyleRef field, described at http://office.microsoft.com/en-us/word-help/field-codes-styleref-field-HP005186193.aspx. However, it displays text that's formatted with a single specific style, not "the first word on the next page regardless of style." It wouldn't be suitable for your purpose.

    Was this answer helpful?

    0 comments No comments