Home |
Search |
Today's Posts |
#1
|
|||
|
|||
Loosing Bookmark when updating
I have declared a book mark , in square brackets, and then using VB I replace
the text that is in the bookmark. On returning to the document on completion of the macro the bookmarks have disappeared. I have checked the bookmark dropdown menu and confirmed that the bookmark has in fact disappeared. Can anyone shed any light on why this has happened and how I can fix the problem. |
#2
|
|||
|
|||
Dazza wrote:
I have declared a book mark , in square brackets, and then using VB I replace the text that is in the bookmark. On returning to the document on completion of the macro the bookmarks have disappeared. I have checked the bookmark dropdown menu and confirmed that the bookmark has in fact disappeared. Can anyone shed any light on why this has happened and how I can fix the problem. See http://word.mvps.org/FAQs/MacrosVBA/...AtBookmark.htm. -- Regards, Jay Freedman Microsoft Word MVP FAQ: http://word.mvps.org |
#3
|
|||
|
|||
You have overwritten the bookmark. This is not uncommon. I believe the code
suggested at http://word.mvps.org/FAQs/Userforms/CreateAUserForm.htm inserts text in such a way as not to overwrite the bookmark, but since I'm not VBA-literate, I can't swear to that. -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA Word MVP FAQ site: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. "Dazza" wrote in message ... I have declared a book mark , in square brackets, and then using VB I replace the text that is in the bookmark. On returning to the document on completion of the macro the bookmarks have disappeared. I have checked the bookmark dropdown menu and confirmed that the bookmark has in fact disappeared. Can anyone shed any light on why this has happened and how I can fix the problem. |
#4
|
|||
|
|||
Ah, thanks for that one, Jay.
-- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA Word MVP FAQ site: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. "Jay Freedman" wrote in message ... Dazza wrote: I have declared a book mark , in square brackets, and then using VB I replace the text that is in the bookmark. On returning to the document on completion of the macro the bookmarks have disappeared. I have checked the bookmark dropdown menu and confirmed that the bookmark has in fact disappeared. Can anyone shed any light on why this has happened and how I can fix the problem. See http://word.mvps.org/FAQs/MacrosVBA/...AtBookmark.htm. -- Regards, Jay Freedman Microsoft Word MVP FAQ: http://word.mvps.org |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Hyperlink from Word to Excel bookmark | Microsoft Word Help | |||
Form Field (defining and associating a bookmark with it) | Microsoft Word Help | |||
Bookmark Name Length in Word | Microsoft Word Help | |||
Loss of Bookmark After Re-opening File | Microsoft Word Help | |||
Reference to Bookmark in header not updating | Microsoft Word Help |