Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
[email protected] macoovacany@hotmail.com is offline
external usenet poster
 
Posts: 1
Default Checking to see if a field reference or bookmark exists.

Hello,
We have a word document that we use as a template. Pretty much all
the sentences in the document are autonumbered. At the end of the
document we have a summary section, as indicated below:

[{Autonumber 2.1}]* Some text
.....
.....
{Autonumber 3} b Summary /b
{Autonumber 3.5} ... as per {2.1}

[]* Word automatically bookmarks as a hidden bookmark, e.g."
_Ref158707320".

However, sometimes certain sentences are not required, so we delete
them. This results in:
{Autonumber 3.5} ... as per {Error! Bookmark not found}.

Is there any way to conditionally check for the existence of the
bookmark? I'm thinking of something along the lines of:
{Autonumber 3.5} ... {if exist{_Ref158707320} then concatenate "as per
", & {_Ref158707320} else "None"}


Cheers,
Tim

 
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
cross-reference doesn't show graphic in bookmark alligatormaki Microsoft Word Help 1 February 28th 07 09:50 PM
How does one reference the VALUE of a FORMCHECKBOX bookmark? Robert Kleinschmidt Microsoft Word Help 4 October 8th 05 10:22 PM
SEQ Field not in cross-reference reference type pull-down menu The Josh Microsoft Word Help 5 May 25th 05 02:27 PM
cross reference bookmark annoyed word user Microsoft Word Help 0 February 14th 05 10:21 PM
Reference to Bookmark in header not updating Barb Reinhardt Microsoft Word Help 1 December 15th 04 07:42 PM


All times are GMT +1. The time now is 02:41 AM.

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"