Automatically insert "Continued" in footer based on existing STYLEREF


Joined
Mar 24, 2019
Messages
3
Reaction score
0
Not sure how exactly to explain my desire... I have a document that consists of song lyrics used for singing gigs. It's a typical Word doc, and uses styles "Song Title" and "Song Lyrics" for formatting. The header uses STYLEREF to display the Song Title on pages 2+ of a given song.

What I'm trying to do is add "Continued" in the footer of pages 2+ of a song, and not show it in the footer when the next Song Title appears (i.e., page 1 of the next song).

The file gets displayed on an iPad, and pages are turned using a bluetooth AirTurn pedal. Obviously in the midst of singing, things can get moving quickly, so I might choose to insert an arrow of some kind rather than the words "continued" but I think the example is the same.

Any help is appreciated!
 
Joined
Mar 24, 2019
Messages
3
Reaction score
0
I should add that I'd thought about using section breaks, but this will be set up in a Word dotx and will be highly edited, so section breaks are less than desirable for this application. My goal is to automate this with styles.
 
Ad

Advertisements

macropod

Microsoft MVP
Joined
Mar 2, 2012
Messages
456
Reaction score
40
Unless your StyleRef field can compare two song titles on the same page when a song ends (i.e. the new song doesn't start on the next page), it can't produce the results you're after. Subject to that proviso, you might use a field coded as:
{IF{STYLEREF "Heading 1"}={STYLEREF "Heading 1" \l} "Continued"}
where 'Heading 1' is the Style name used for the song title.
 

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