Hi,
I would like to make a form for cross referencing to tables (using Word 2000). I've made such
form for headings and used the code:
giving an array with all headings in the document.
Is there a corresponding argument for (table) captions?
In Help for GetCrossReferenceItems are only mentioned wdRefTypeBookmark, wdRefTypeEndnote,
wdRefTypeFootnote, wdRefTypeHeading, wdRefTypeNumberedItem. However, in
method InsertCrossReference I see for argument ReferenceType the constant
wdCaptionTable. There should be a corresponding argument for
GetCrossReferenceItems to get all Captions. But I don't see it in Help.
Thanks for help
Regards,
Henk
I would like to make a form for cross referencing to tables (using Word 2000). I've made such
form for headings and used the code:
Code:
myHeadings = ActiveDocument.GetCrossReferenceItems(wdRefTypeHeading)
Is there a corresponding argument for (table) captions?
In Help for GetCrossReferenceItems are only mentioned wdRefTypeBookmark, wdRefTypeEndnote,
wdRefTypeFootnote, wdRefTypeHeading, wdRefTypeNumberedItem. However, in
method InsertCrossReference I see for argument ReferenceType the constant
wdCaptionTable. There should be a corresponding argument for
GetCrossReferenceItems to get all Captions. But I don't see it in Help.
Thanks for help
Regards,
Henk