For a cross-reference to a SEQ field (such as the one on a figure
caption) a REF field includes a long number, looking like this:

{ REF_Ref4018934786 \h }

But the SEQ field that this points to doesn't display that number. The
number must be in the document someplace, but how can I retrieve it?
It's the only way I can tie together various things relating to a
figure. Thanks.

Re: Getting the REF number from a SEQ field by macropod

macropod
Tue Dec 05 16:50:44 CST 2006

Hi Chris,

The field ID numbers created by Word are arbitrary. I suspect that, like
floppy disk IDs, they're derived from the system date & time at the date &
time of creation.

Cheers

--
macropod
[MVP - Microsoft Word]


"Chris" <cc_brewster@yahoo.com> wrote in message
news:1165356059.026390.219230@79g2000cws.googlegroups.com...
> For a cross-reference to a SEQ field (such as the one on a figure
> caption) a REF field includes a long number, looking like this:
>
> { REF_Ref4018934786 \h }
>
> But the SEQ field that this points to doesn't display that number. The
> number must be in the document someplace, but how can I retrieve it?
> It's the only way I can tie together various things relating to a
> figure. Thanks.
>



Re: Getting the REF number from a SEQ field by Chris

Chris
Tue Dec 05 17:25:24 CST 2006

I realize the number is arbitrary, but it's unique and it appears to be
stable. That is, if I do two references to the same figure, the two REF
fields use the same number. If I save the document as HTML, the same
number appears in an <a> tag. So I'm trying to get this number, which
seems to be "contained" in the SEQ field.

macropod wrote:
> Hi Chris,
>
> The field ID numbers created by Word are arbitrary. I suspect that, like
> floppy disk IDs, they're derived from the system date & time at the date &
> time of creation.
>
> macropod
> [MVP - Microsoft Word]
> >


Re: Getting the REF number from a SEQ field by macropod

macropod
Tue Dec 05 18:00:55 CST 2006

Hi Chris,

The hidden bookmark you're referring to and, hence, the arbitrary number
associated with it, does not exist until the first REF field pointing to the
referenced item is created - thus the '_Ref' prefix to the number.

You can check this by creating a document with a series of captions, then
using Insert|Bookmark and checking 'hidden bookmarks'. You'll see no such
bookmark at this stage. If you save the document as a Web page, there'll
still be nothing with a '_Ref' prefix in the html file. If you now insert a
cross-reference to one of the fields, Word will create the bookmark and
you'll be able to see it via Alt-F9 or Insert|Bookmark - and in the html
file if you save again.

Cheers

--
macropod
[MVP - Microsoft Word]


"Chris" <cc_brewster@yahoo.com> wrote in message
news:1165361124.315013.113120@73g2000cwn.googlegroups.com...
> I realize the number is arbitrary, but it's unique and it appears to be
> stable. That is, if I do two references to the same figure, the two REF
> fields use the same number. If I save the document as HTML, the same
> number appears in an <a> tag. So I'm trying to get this number, which
> seems to be "contained" in the SEQ field.
>
> macropod wrote:
> > Hi Chris,
> >
> > The field ID numbers created by Word are arbitrary. I suspect that, like
> > floppy disk IDs, they're derived from the system date & time at the date
&
> > time of creation.
> >
> > macropod
> > [MVP - Microsoft Word]
> > >
>