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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Allow user to dynamically choose font for each line...

Status
Not open for further replies.

MushMouse

Programmer
Mar 29, 2004
65
0
0
US

I have a field called cmbFonts & I would like to populate it with the font values that are valid for the given PC. It will show up on a form as a combo box & the users can then choose the font they would like stored with the given record. Does anyone know how to do this?

Thanks!
 
Well... not exactly. Would the common dialog control be an option for you?

Always remember that you're unique. Just like everyone else.
 
set refance to word

add this code to for startup

Code:
Dim wo As Word.Application
Dim j As Integer
Set wo = CreateObject("Word.Application")
For j = 1 To FontNames.Count
Me.Combobox.AddItem FontNames(j)
Next j
 
How are ya MushMouse . . .

Forgive me, but I see no point in doing this! Can you explain? . . .

Calvin.gif
See Ya! . . . . . .

Be sure to see thread181-473997
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top