View Single Post
 
Old 09-19-2017, 04:48 AM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Quote:
Originally Posted by slaycock View Post
Oh good grief. I can see where I've gone wrong. I didn't look up wdGotoItem.
...
As I always say. It pays to read the word help pages carefully. I just need to follow my own advice
Problem is, though, the Word 'Help' file has wdLine, not wdGotoLine, as a wdGotoItem; there's even an example with it!
As for .GoTo(What:=wdGoToBookmark, Name:="\line"), the required workaround is indeed something like your function.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote