Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Numbering / October 2003

Tip: Looking for answers? Try searching our database.

Cross-Referencing Dynamically Numbered Elements

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Joshua - 14 Oct 2003 14:26 GMT
The Word Heretic recently wrote:

"never use dynamically generated reference targets - numbered lists,
headings etc. You may get away with it for a short while, but it will
always come to bite you in the back - especially when copying content!"

... but I just recently set up numbered list template styles using VBA, and
implement numbered headings using Word's built-in Heading styles. I thought
this would make cross references like "refer to step Z in section X.Y"
behave and be stable.

Is this not true? Are they not stable? Will I have trouble cutting and
pasting such "dynamic" references?

Joshua
Shauna Kelly - 17 Oct 2003 04:45 GMT
Hi Joshua

You can use the functionality at Insert > Reference > Cross Reference.  I've found it to be quite stable. In the Reference Type box,
choose Heading or Numbered Item. In the Insert Reference To box, choose Heading number. Don't choose Heading number (full context),
because it won't work properly in some circumstances.

There are two potential problems, both of which come about because of how Word does these cross references. It manages them by
creating invisible bookmarks around the thing being referenced. This has two consequences.

First, you can't cut and paste between documents, because Word won't be able to find the bookmarked reference in the new document.
You can cut and paste within documents, but you have to be careful because of the invisible bookmarks.

Second, it's easy to accidentally type or paste within the invisible bookmark. The classic case is that you have some text followed
by a heading and the heading is cross-referenced somewhere. You want to add more text before the heading, so you go to the beginning
of the heading paragraph and press Enter to create a new paragraph. And you type away. This leads to a mess because you've just
typed within the invisible bookmark. To avoid this, make sure you create new paragraphs by going to the *end* of the paragraph
before the heading, and press Enter there.

Hope this helps.

Shauna Kelly.  Microsoft MVP.
http://www.shaunakelly.com/word
Melbourne, Australia

> The Word Heretic recently wrote:
>
[quoted text clipped - 11 lines]
>
> Joshua
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.