AutoCaptions Property Example

This example displays the name of each item that automatically gets a caption when inserted into the document.

For Each aCaption In AutoCaptions
    If aCaption.AutoInsert Then MsgBox aCaption.Name
Next aCaption