#1   Report Post  
Posted to microsoft.public.excel.programming
avi avi is offline
external usenet poster
 
Posts: 195
Default Font Picker

Hello,

Is there some ready font picker that i could use in a userform, that
returns the font name (size, bold...)?

I've already found a color picker that I use

Thanks
Avi

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 182
Default Font Picker

I use this one:
Private Sub CommandButton1_Click()
'Use Reference : Microsoft Common Dialog Control 6.0 (SP6)
'
Dim Lbl As MSForms.Label
Set Lbl = Label1
Lbl.AutoSize = True
With CommonDialog1
.Flags = cdlCFScreenFonts
.ShowFont
Lbl.Font.Name = .FontName
Lbl.Font.Size = .FontSize
Lbl.Font.Bold = .FontBold
Lbl.Font.Italic = .FontItalic
End With
End Sub
--
Regards,

Halim



"avi" wrote:

Hello,

Is there some ready font picker that i could use in a userform, that
returns the font name (size, bold...)?

I've already found a color picker that I use

Thanks
Avi


  #3   Report Post  
Posted to microsoft.public.excel.programming
avi avi is offline
external usenet poster
 
Posts: 195
Default Font Picker

Many thanks Halim

Works very fine

Avi

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
DT Picker [email protected] Excel Programming 8 June 25th 07 01:01 PM
VBA color picker - copy of Font dialog combo box [email protected] Excel Programming 27 December 5th 06 08:23 PM
I need a Value Picker function KarenB Excel Programming 14 August 4th 06 07:57 PM
DT Picker control AlbertYWang Excel Programming 1 May 6th 06 02:56 AM
DT Picker Alex Martinez Excel Programming 2 May 13th 05 12:36 PM


All times are GMT +1. The time now is 08:46 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"