Well, I've wasted enough time on this myself so I thought I would reach out for help. I'm sure the solution is simple; I'm just overlooking it.
I want to search through a group of PowerPoint music slides and copy out certain song numbers and verses with their corresponding chorus. The verse number can vary (for example song number 500 verses 1 and 3). Verses may take up more than a single slide and choruses follow the verses and may take up more than a single slide. I have the search working... it finds the slide number... then finds the verses but I only want to copy the chorus for the selected verses. My code currently grabbing all the chorus slides, which I don't want. I can't seem to figure this part out.
So, here is an example.
Slide set:
Verse 1
Verse 1
Chorus
Chorus
Verse 2
Verse 2
Chorus
Chorus
Verse 3
Verse 3
Chorus
Chorus
So, if I search for verses 1 and 3, I want this to be my results. (Verse 2 slides are their chorus are skipped)
Verse 1
Verse 1
Chorus
Chorus
Verse 3
Verse 3
Chorus
Chorus
I'm looking for a strategy or algorithm for doing this type of search. I hope this makes sense.