Home |
Search |
Today's Posts |
#4
![]()
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
![]()
Please ignore my last message - I figured it out (duh).
Cheers "susann" wrote: Thanks Doug. This is going to sound like a silly question, but what do I do with the macro? Do I create a new one and then run it? My VB skills are practically non-existent so am a little lost... Thanks Susan "Doug Robbins - Word MVP" wrote: If it is just the autotext entries that you are after, the following macro will create a table of them in the active document: With ActiveDocument .Range.InsertBefore "Name" & vbTab & "Value" & vbCr For i = 1 To .AttachedTemplate.AutoTextEntries.Count .Range.InsertAfter .AttachedTemplate.AutoTextEntries(i).Name & vbTab & _ .AttachedTemplate.AutoTextEntries(i).Value & vbCr Next i .Range.Paragraphs(.Paragraphs.Count).Range.Delete .Range.ConvertToTable End With -- Hope this helps. Please reply to the newsgroup unless you wish to avail yourself of my services on a paid consulting basis. Doug Robbins - Word MVP "susann" wrote in message ... I have a large list of autotexts/building blocks in Word 2007. I'm compiling a list of the commonly used ones for training and wanted to know if there was an easy way to print them all out onto the page, rather than going through and inserting them one by one ![]() I tried to print and select under 'Print What' selected Building Blocks however this has crashed my Word several times so I've given up. Is there another way to do this? Thanks Susan |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Word 2007 Building Blocks Change defaults in Create New BuildingBlock dialog box? | New Users | |||
Autotext (Building Blocks?) - 2007 | Microsoft Word Help | |||
Automating document building using building blocks and content con | Microsoft Word Help | |||
Word can't save my custom Building Blocks :( | Microsoft Word Help |