A family of Microsoft word processing software products for creating web, email, and print documents.
These are called catchwords, which may help your search, but start at http://www.gmayor.com/catchwords.htm
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
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!
A family of Microsoft word processing software products for creating web, email, and print documents.
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.
Answer accepted by question author
These are called catchwords, which may help your search, but start at http://www.gmayor.com/catchwords.htm
Thanks for the heads up - I will add that note.
P.S. Added :)
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.
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:
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.
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.