ActiveDocument.Tables(1).Range.InsertCaption _ Label:=wdCaptionTable, _ Position:=wdCaptionPositionBelow 另請參閱 Range 物件 支援和意見反應 有關於 Office VBA 或這份文件的問題或意見反應嗎? 如需取得支援服務並提供意見反應的相關指導,請參閱Office VBA 支援與意見反應。
Position可选Variant指定在范围的上方还是下方插入题注。 可以是WdCaptionPosition常量之一。 ExcludeLabel可选Variant真没有文本标签,在标签参数中定义。错误包含指定的标签。 示例 以下示例在活动文档的第一个表格下方插入一个题注。 VB复制 ActiveDocument.Tables(1).Range.InsertCaption _ Label:=wdCaptionTable, _ ...
Position選用Variant會指定上方或下方選取項目是否會插入標號。 可以是WdCaptionPosition常數之一。 ExcludeLabel選用VariantTrue 是表示不包含文字標籤、 Label 參數中所定義。False會包含指定的標籤。 範例 這個範例會在插入點插入 Figure 標號。 VB Selection.Collapse Direction:=wdCollapseStart Selection.InsertCaption Labe...
Word.Selection.InsertCaption('图',PicN,'',0,false); %插入题注 Selection.Paragraphs.Alignment =...
Office Word Primary Interop Assembly CreateTextbox Cut Delete DetectLanguage EndKey EndOf EscapeKey Expand ExportAsFixedFormat Extend GoTo GoToEditableRange GoToNext GoToPrevious HomeKey InRange InsertAfter InsertBefore InsertBreak InsertCaption InsertCaptionXP ...
Label Required Variant The caption label to be inserted. Can be a String or one of the WdCaptionLabelID constants. If the label has not yet been defined, an error occurs. Use the Add method with the CaptionLabels object to define new caption labels. Title Optional Variant The string to ...
Label Required Variant The caption label to be inserted. Can be a String or one of the WdCaptionLabelID constants. If the label has not yet been defined, an error occurs. Use the Add method with the CaptionLabels object to define new caption labels. Title Optional Variant The string to ...
ClickReferences>Insert Caption. To use the default label (Figure), type your caption in theCaptionbox. Tip:You can also create your own default caption label by clickingNew Label, and then adding your caption in theLabelbox. Word automatically numbers the new labels for you. ...
是最流行的文字处理程序之一,它功能强大,简学易懂,但同时也有一个缺点,当一个Word文档储存的内容...
How to Link Word Table Caption to Document Body: Cross-Reference Wrapping Up In a professional document, it is essential to incorporate a list of tables and figures in the preface of your document. These lists encompass all the tables, figures, and any other custom objects like maps that you...