表達會傳回 'BuildingBlock' 物件的運算式。 參數 名稱必要/選用資料類型描述 Where必要Range要放置建置組塊內容的位置。 RichText選用VariantTrue 是表示 將建置組塊插入為豐富、格式化的文字。False會將建置組塊插入為純文字。 傳回值 範圍 範例 下列範例會將第一個範本中的第一個建置組塊插入到使用中文件的第一個...
Document.BuildingBlockInsert 事件 (Word) 项目 2023/04/07 7 个参与者 反馈 本文内容 语法 参数 备注 另请参阅 构建基块插入文档时发生。 . 语法 表达式。BuildingBlockInsert' (Range**, Name, Category, Type, Template) 表达 返回Document 对象的表达式。 参数 展开表 名称必需/可选数据类型说明 ...
ENVBA是一种通用编程语言,适用于任何内置有VBA的应用程序,因此Word VBA与Excel VBA的语法一样,只是处...
程序集: Microsoft.Office.Interop.Word.dll C# 复制 public void BuildingBlockInsert (Microsoft.Office.Interop.Word.Range Range, string Name, string Category, string BlockType, string Template); 参数 Range Range Name String Category String BlockType String Template String 适用于 产品版本 Wo...
Microsoft.Office.Tools.Word (在 Microsoft.Office.Tools.Word.dll 中) 語法 C# 複製 event DocumentEvents2_BuildingBlockInsertEventHandler BuildingBlockInsert 備註 如需處理事件的詳細資訊,請參閱使用事件。 .NET Framework 安全性 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參...
The Create New Building Block box opens. In the Name box, type a name for your signature block. In the Gallery box, select AutoText. Select OK. When you want to use this signature, place the insertion point where you want to insert the signature block. Select Insert > Quick Parts > ...
Sub InsertBBEinBM(ByRef pBMTarget As String, pBBEName As String) Dim oRng As Word.Range With ActiveDocument Set oRng = .Bookmarks(pBMTarget).Range If Not pBBEName = " " Then Set oRng = .AttachedTemplate.BuildingBlockTypes(wdTypeAutoText).Categories("Fruit") _ .BuildingBlocks(pBBEName)....
SelectSave Selection to Quick Part Gallery. TheCreate New Building Blockbox opens. In theNamebox, type a name for your signature block. In theGallerybox, selectAutoText. SelectOK. When you want to use this signature, place the insertion point where you want to insert the signature block. ...
Click the Building Block icon to insert building blocks from a menu. Click the Special Characters icon to select dashes, spaces, quotation marks, and other special characters. To apply a character style to the entire cross-reference, select Character Style For Cross-Reference, and then choose ...
Click Yes to confirm. To completely remove a cross-reference, you can also select the cross-reference source and delete it. Editing cross-reference source text You can edit cross-reference source text. The advantage of editing cross-reference text is that you can change tracking or word spacing...