Reply
 
Thread Tools Display Modes
  #1   Report Post  
Dazza
 
Posts: n/a
Default 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   Report Post  
Jay Freedman
 
Posts: n/a
Default

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   Report Post  
Suzanne S. Barnhill
 
Posts: n/a
Default

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   Report Post  
Suzanne S. Barnhill
 
Posts: n/a
Default

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

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Hyperlink from Word to Excel bookmark rawahoho Microsoft Word Help 2 February 22nd 05 11:29 PM
Form Field (defining and associating a bookmark with it) Judi Microsoft Word Help 2 February 11th 05 09:53 PM
Bookmark Name Length in Word Judi Microsoft Word Help 1 February 8th 05 04:57 PM
Loss of Bookmark After Re-opening File Nick Curl Microsoft Word Help 4 January 4th 05 09:18 PM
Reference to Bookmark in header not updating Barb Reinhardt Microsoft Word Help 1 December 15th 04 06:42 PM


All times are GMT +1. The time now is 01:44 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"