Hello!
I'm trying to see if there is a way to manipulate the Selection.MoveUp function to get it do to what I want in VBA for Word...
So the code starts out by finding a phrase and then figuring out what page number it is on. If the page number / 2 <> 0 then another find is executed to find the section break on that page. Ideally I'd like to find this section break and then MoveUp until it finds the pagebreak on the previous page and deletes everything between the section break and the page break, including the page break but not the section break. I have no idea how many lines are between these two as each user is different when enterting the phrase....the phrase is one line, but unfortunately there may or may not be white space (more lines) depending on the user.
Any help would be appreciated! Thank you
Bookmarks