Evening,
Anybody know how to set the insertion point to the beginning of the current page in Word?
zaza
Printable View
Evening,
Anybody know how to set the insertion point to the beginning of the current page in Word?
zaza
Pay more attention to me!
Sorry but I dont have any $. :D
You can use this code to go to the designated page. Once the GoTo is executed it will place the cursor at the beginning of that page even if its already on that page.
VB Code:
Selection.GoTo What:=wdGoToPage, Which:=wdGoToNext, Name:="2"
Cheers RD. I knew you'd have a suggestion in the end. I may be able to cobble something with a Goto Nextpage followed by Goto PreviousPage.
:(
zaza
No, you dont need to do that as the GoTo will place the cursor at the beginning of the specified page. No need to go forward and back.
I gather that. But I don't know what the page number is at the current insertion point, and it isn't immediately obvious that there is a way to determine what the current page number in fact is. Unless, of course, you know...
zaza
Does the NextPage/PreviousPage give a flicker or is visibly changing?
Yes it does. And it isn't much use when you're on the first / last page, depending on which order you do them in, because one of them won't work and then you end up on the previous/next page...