I'm dealing with a little problem using VBA in MS Word2003:
I have created a table and now I want to give it a caption, also with VBA... Do you have any idea how to do开发者_StackOverflow社区 that?
Would be great if you could help me a little bit further! Greets, poeschlorn
@Edit: The word i was searching for was "caption" ;-)
The InsertCaption method should do what you want.
Example from the link above:
ActiveDocument.Tables(1).Range.InsertCaption _
Label:=wdCaptionTable, _
Position:=wdCaptionPositionBelow
精彩评论