I am working in excel VBA and I want to get the list of all fonts in a combo box
Can any one help me please
I tried this code but i am getting error in listcount
Another way to get the list of fonts (from Word)
Option Explicit Sub listFonts() Dim wd As Object, fontID As Variant Set wd = CreateObject("Word.Application") For Each fontID In wd.FontNames Sheet1.cmbFonts.AddItem fontID Next wd.Quit Set wd = Nothing End Sub