每個BuildingBlock物件是BuildingBlocks和BuildingBlockEntries集合的成員。 建置組塊都會儲存在 Microsoft Word 範本。 因此,若要存取可用的文件建置組塊,您需要存取附加的範本。 內建的建置組塊會儲存在名為"Building Blocks.dotx"的範本。 使用集合的Item方法或BuildingBlocks集合可傳回個別的建置組塊。 下列範例會存取Temp...
存取建置組塊之後,您可以使用BuildingBlock物件的Insert方法,將它插入文件中。 下列程式碼範例擴充上一個程式碼範例,會新增一行,將建置組塊插入使用中文件的插入點 (如果已選取文字,則會取代選取的文字)。 注意 當您使用功能區插入建置組塊時,Word 會自動判斷建置組塊的某些事項,例如要插入建置組塊的位置;不過,當您透過...
与BuildingBlocks 集合返回的集合是基于的类型和类别的筛选的集合。 根据访问集合的方式,更改返回的集合。 例如,如果您访问的类型为 wdTypeAutoText 的"常规"类别使用构建基块的集合,则返回的集合可能不同如果访问类型为 wdTypeAutoText 的"自定义"类别与构建基块的集合返回的集合中。 这也是其他如果您访问的类型为...
Word 2007- C:\Documents and Settings\"username"\Application Data\Microsoft\Document Building Blocks\1033\ Quick Parts This is a gallery that is displayed when you click on the Quick Parts drop-down SS AutoText- (Added in 2010) Document Property- Displays a list of document properties you can...
Building blocks in Microsoft Word are pre-designed and customized blocks of text and formatting. This feature for inserting content makes document creation much easier.
返回一个代表 Microsoft Word 应用程序的 Application 对象。语法表达式。应用expression 是必需的。 一个代表“BuildingBlocks”集合的变量。另请参阅BuildingBlocks 集合支持和反馈有关于 Office VBA 或本文档的疑问或反馈? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。反馈 此页面是否有帮助...
返回一个 BuildingBlocks 集合,该集合代表类别的构建基块。 只读。语法expression。 BuildingBlocks表达 返回“Category”对象的表达式。另请参阅对象类别支持和反馈有关于 Office VBA 或本文档的疑问或反馈? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。反馈 此页面是否有帮助? 是 否 ...
EachBuildingBlockobject is a member of theBuildingBlocksandBuildingBlockEntriescollections. Building blocks are stored in Microsoft Office Word templates. Therefore, to access the building blocks available for a document, you need to access an attached template. Built-in building blocks are stored in ...
I am looking to make a template for my work environment, but what I have done so far hasn't worked. I have tried saving the word document as a .dotx format so that I can save building blocks to it, b... Startup Folder. This can be stored on a central network location...
I am looking to make a template for my work environment, but what I have done so far hasn't worked. I have tried saving the word document as a .dotx format so that I can save building blocks to it, but it doesn't seem to stick (building blocks don't transfer) for when others ...