I need to know how to use selection to either search for a string in a specified line on a specified page in a word document, or i have my code set up currently to select the entire line if i could search for a specific variable in the selection i could use that too.

The purpose being that i have to check to see if a piece of text was added to the string on the last line of each page the text reaches.

So far i keep getting stuck at this one part when trying to figure it all out.

Suffice to say i need to check if "????Z" exists on the last line of every page that has text on the last line of it


ive spent multiple hours on google and toying around with code to try to figure this out... i cant please help.