Hello from Steved
Selection.GoTo What:=wdGoToPage, Which:=wdGoToNext, Name:="3" "and it goes to page 3"
Looking at the above, I have a "5 Page" document And I want to run a macro only on the page Selected, in this case "Page 3" is this possible please.
My end goal is no matter where I'm at in a document I only want the "Macro" too deal with the selected "Page Only".
So far I've tried to change this script If Selection.End = ActiveDocument.Bookmarks("\Sel").Range.End Then
I've the changed it to If Selection.End = ActiveDocument.Bookmarks("\Page").Range.End Then
My thinking is, If I know how to put in Bookmarks ( I do not know how to go about this } at the end of each page My question then being can VBA go to that particular bookmark and tell the macro to stop. Maybe this is an option I just don't know.
Thank you.