How to make listing of table captions?

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top