A caption consists of a { SEQ } field pre-fixed by the label so if you want
to insert a caption for a Widget, you could use
With ActiveDocument
Selection.InsertBefore "Widget "
Selection.Collapse wdCollapseEnd
.Fields.Add Selection.Range, wdFieldEmpty, "SEQ widget"
End With
--
Hope this helps.
Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.
Doug Robbins - Word MVP, originally posted via msnews.microsoft.com