Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Print a list of fonts - Word 2003 1

Status
Not open for further replies.

BlueHorizon

Instructor
Joined
Jan 16, 2003
Messages
730
Location
US
Hi all,

Is there was a way to print a list of fonts from Word 2003 so I can have printed reference for other programs, i.e., Acrobat.

Anyone know how to do this?

You're the best!!

Best,
Blue Horizon [2thumbsup]
 
Hi Kathy,

If you just want a list of fonts, this will do it:
Code:
[blue]Sub ListFonts()
    Documents.Add
    For Each Font In FontNames
        ActiveDocument.Range.InsertAfter Font & vbNewLine
    Next
End Sub[/blue]
If you want something in each font it is, obviously, a little more complex.

Enjoy,
Tony

--------------------------------------------------------------------------------------------
We want to help you; help us to do it by reading this: Before you ask a question.
Excel VBA Training and more Help at VBAExpress[
 
Hi Kathy,

Try this one instead, then ..
Code:
[blue]Sub ListFonts()
Documents.Add
For Each Font In FontNames
    Selection.Font.Name = Font
    Selection.TypeText Font
    Selection.TypeParagraph
Next
End Sub[/blue]
That shows the font name in the font - is that good enough?

Enjoy,
Tony

--------------------------------------------------------------------------------------------
We want to help you; help us to do it by reading this: Before you ask a question.
Excel VBA Training and more Help at VBAExpress[
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top