bottom
Great WordTips!
         
Your e-mail address is safe!
Close Note

Tips.Net > WordTips Home > Macros > WordBasic Examples > Determining the Number of Fonts Available with WordBasic

Determining the Number of Fonts Available with WordBasic

Summary: Do you need to figure out how many fonts there are available to your document? Here's the WordBasic code to do it. (This tip works with Microsoft Word 6, and Word 95.)

There may be times within your macros when you need to determine the number of fonts available for use. If you are writing your macros using WordBasic, you can use the CountFonts function, as follows:

x = CountFonts()

When finished, x will contain the number of fonts installed and available for use.

Tip #752 applies to Microsoft Word versions: 6 | 95


Take Control! Experienced users know that styles can make the difference between a plain document and a masterful one. This is the real power behind Word, and the key to that power can be found in WordTips: Styles and Templates.

Helpful Links

Ask a Word Question
Make a Comment

Tips.Net Home
Vital News Home

WordTips FAQ
WordTips Premium

Learn Access Now

Beauty Tips
Bugs and Pests Tips
Car Tips
Cleaning Tips
College Tips
Cooking Tips
Excel2007 Tips
ExcelTips
Family Tips
Gardening Tips
Health Tips
Home Tips
Money Tips
Organizing Tips
Pet Tips
Word2007 Tips
WordTips

Advertise on the
WordTips Site

 

Great Info!

Get tips like this every week in WordTips, a free productivity newsletter. Enter your e-mail address and click "Subscribe."
     
(Your e-mail address will never be shared with anyone, ever.)