Hi all,

I am required to get the number of an endnote and check if it is present in
the main document. To elaborate further, assuming I have something like:

3 For a historical description of the...
3 being the superscripted end note number that word automatically
assigns.

I will need to extract the text '3' out of the end note. When I copy and
paste any endnote, I get '[1]' instead of '3'. Also, when I just do a
msgbox(selection.text), I get a funny character instead of the endnote
number. Is there anyway, I can retreive the endnote number? After I
reetrieve it, I will have to check if it is present in the main document
which is fairly easy. It's the text extracting part that's eating my brain
(however limited!) away.

Hope someone can help me out.

Thanks & Regards,
Vince

Re: Extracting Endnotes Number by fdde

fdde
Wed Aug 25 23:30:45 CDT 2004

Figured it out!

It goes MsgBox (Selection.Endnotes(1).Index) that way in the citation and
simply MsgBox (ActiveDocument.Endnotes(5).Index) in the endnote section!
vince

"fdde" <sdsad@fsd.com> wrote in message
news:%23RjqqDxiEHA.396@TK2MSFTNGP12.phx.gbl...
> Hi all,
>
> I am required to get the number of an endnote and check if it is present
in
> the main document. To elaborate further, assuming I have something like:
>
> 3 For a historical description of the...
> 3 being the superscripted end note number that word automatically
> assigns.
>
> I will need to extract the text '3' out of the end note. When I copy and
> paste any endnote, I get '[1]' instead of '3'. Also, when I just do a
> msgbox(selection.text), I get a funny character instead of the endnote
> number. Is there anyway, I can retreive the endnote number? After I
> reetrieve it, I will have to check if it is present in the main document
> which is fairly easy. It's the text extracting part that's eating my brain
> (however limited!) away.
>
> Hope someone can help me out.
>
> Thanks & Regards,
> Vince
>
>