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]
> > >
>