Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Newsgroup Archive
Word Newsgroups
Word VBA
Cannot find bookmark (error 5678)
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
Reply to thread
Message
[QUOTE="zSplash, post: 5816432"] Using code to add rows to a table, I then I want to return to the original spot the sub was invoked. I have inserted a bookmark "StartHere", at beginning of code. Then, at the end of the code (after adding many rows, which are out of the window view), I try to re-position the "StartHere" bookmark in the window, unsuccessfully. Here's my code to reposition: ActiveDocument.ActiveWindow.ScrollIntoView Selection.Range ActiveDocument.GoTo what:=wdGoToBookmark, Name:="StartHere" ActiveDocument.Bookmarks("StartHere").Delete The Bookmark exists, but I get a run-time error 5678 "Word cannot find the requested bookmark". The start position remains out of view (if I comment out the "goto" code). Can someone help? TIA [/QUOTE]
Verification
Post reply
Forums
Archive
Newsgroup Archive
Word Newsgroups
Word VBA
Cannot find bookmark (error 5678)
Top