H
hstijnen
Hi,
I would like to make a form for cross referencing to tables. I've made such
form for headings and used the code:
myHeadings = ActiveDocument.GetCrossReferenceItems(wdRefTypeHeading)
giving an array with all headings in the document.
Is there a corresponding argument for (table) captions?
In Help are only mentioned wdRefTypeBookmark, wdRefTypeEndnote,
wdRefTypeFootnote, wdRefTypeHeading, wdRefTypeNumberedItem. However, in
method InsertCrossReference I see for argument ReferenceType the constant
wdCaptionTable. Ther should be a corresponding argument for
GetCrossReferenceItems.
I would like to make a form for cross referencing to tables. I've made such
form for headings and used the code:
myHeadings = ActiveDocument.GetCrossReferenceItems(wdRefTypeHeading)
giving an array with all headings in the document.
Is there a corresponding argument for (table) captions?
In Help are only mentioned wdRefTypeBookmark, wdRefTypeEndnote,
wdRefTypeFootnote, wdRefTypeHeading, wdRefTypeNumberedItem. However, in
method InsertCrossReference I see for argument ReferenceType the constant
wdCaptionTable. Ther should be a corresponding argument for
GetCrossReferenceItems.