#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default fonts ?

here is the solution
to tell the true chip was faster the idea is the same
in my opinion his ver is more reliable
I tecidet to post my ver 'cos it cost me a while so why not

try this

Sub test_3()
Dim a
On Error Resume Next
Set myCombo = Application.CommandBars
("Formatting").Controls(1)
a = InputBox("Type your text.", "Test with fonts by
Konrad", "type text here", 350, 350)
For i = 1 To myCombo.ListCount
ThisWorkbook.Sheets(2).Cells(i, 1) = a
ThisWorkbook.Sheets(2).Cells(i, 2) = myCombo.List(i)
ThisWorkbook.Sheets(2).Cells(i, 1).Font.Name = myCombo.List
(i)
Next i
End Sub

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I lengthen the drop down Fonts list to show more fonts at Moser D Excel Discussion (Misc queries) 1 February 5th 06 03:24 PM
Fonts Louuk Excel Discussion (Misc queries) 1 January 23rd 06 01:48 AM
no more new fonts hughess7 Excel Discussion (Misc queries) 0 September 20th 05 03:57 PM
Best FOnts? Kurchian Excel Discussion (Misc queries) 2 May 15th 05 09:11 PM
fonts dong Excel Discussion (Misc queries) 1 January 18th 05 11:37 PM


All times are GMT +1. The time now is 11:40 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"