![]() |
![]() |
#1
|
|||
|
|||
![]()
I have a lot of Quick Parts that I've added over time. Is there a way to print out my quick parts so I can review them? Thanks.
|
#2
|
||||
|
||||
![]()
You will need a macro to do this. The macro below inserts all the building blocks in the attached template into the current document. Depending on where you have saved your building blocks, you will probably need to modify the macro to do the same for your BB storage template. It wouldn't be difficult to modify this code to do all templates but that can get ugly if you haven't cleaned out your default Building Blocks template yet.
Code:
Sub InsertAllTemplateBBs() Dim i As Integer, oTemplate As Template, sName As String Dim iBB As Integer Set oTemplate = ActiveDocument.AttachedTemplate iBB = oTemplate.BuildingBlockEntries.Count If iBB > 0 Then For i = 1 To iBB With oTemplate.BuildingBlockEntries.Item(i) sName = .Type.Name & ">" & .Category.Name & ">" & .Name Selection.TypeText "===================================" & vbCr & sName & vbCr oTemplate.BuildingBlockTypes(.Type.Index).Categories(.Category.Name).BuildingBlocks(.Name).Insert _ Where:=Selection.Range, RichText:=True Selection.TypeParagraph End With Next End If End Sub
__________________
Andrew Lockton Chrysalis Design, Melbourne Australia |
#3
|
|||
|
|||
![]()
Thank you -- I don't know how to create a macro, but I'll try to find out.
|
#4
|
||||
|
||||
![]()
For macro installation instructions, see Installing Macros.
__________________
Stefan Blom Microsoft Word MVP |
![]() |
Tags |
quick parts |
Thread Tools | |
Display Modes | |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Using refernces with quick parts | general_cluster | Word | 0 | 01-11-2018 12:39 PM |
![]() |
katrinao | Word | 3 | 03-04-2016 07:44 AM |
![]() |
FFT | Word | 2 | 08-12-2014 05:49 AM |
![]() |
tmneal74 | Word | 1 | 11-13-2012 06:04 PM |
![]() |
alokmay | Word | 1 | 06-14-2011 04:46 PM |