print list of autotexts/building blocks in Word 2007

S

susann

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
 
D

Doug Robbins - Word MVP

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
 
T

Tony Jollans

You should be able to print Building Blocks without a crash. It may be worth
trying to print to a different printer - or, possible, try repairing Word:
From the Office button, select Word Options, then select the Resources tab
and run Office Diagnostics.
 
D

Doug Robbins - Word MVP

If you do want the Building Blocks and are able to follow Tony's advice, be
prepared for a 100 page document to be printed. That's how many pages were
in the .pdf file that I created by printing the autotext (4 entries) and
building blocks to the Adobe PDF printer.

--
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
 
T

Tony Jollans

And, to be perfectly honest, they're not really in a suitable format for a
training manual.
 
S

susann

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top