PC Review


Reply
Thread Tools Rate Thread

Can you change the font and font size for a forms control ?

 
 
exceluser
Guest
Posts: n/a
 
      26th Oct 2010
Is it possible to change the font and font size for a forms control
drop down list (not an ActiveX control) ?



Exceluser
 
Reply With Quote
 
 
 
 
Mike S
Guest
Posts: n/a
 
      26th Oct 2010
On 10/25/2010 6:22 PM, exceluser wrote:
> Is it possible to change the font and font size for a forms control
> drop down list (not an ActiveX control) ?
>
>
>
> Exceluser


Do you mean that you added a Combobox to a Userform, and you want to
change the font family and font size of the text in the Combobox? If so
right click on the Combobox, select Properties in the context menu, then
in the Properties window click on the three dots at the right side of
the right column where Font is displayed in the left column. Is this
what you're looking for?

http://en.allexperts.com/q/Excel-105...pdown-List.htm

Mike


 
Reply With Quote
 
exceluser
Guest
Posts: n/a
 
      26th Oct 2010
Mike,

Thanks for responding.

In Excel 2007, I added a Forms Control Combo Box. When selected,
the Combo Box is specified as Drop Down 2.

However, the font is too small.

I would use the ActiveX Combo Box, but when a selection is chosen
from the drop down list and another cell is selected, the selected
value in the drop down list appears bolded.

The font properties only seem to apply when the drop down list is
dropped down.

If the ActiveX Combo Box were to be used, is there a way to prevent
the selection from displaying in bold.



Exceluser
 
Reply With Quote
 
exceluser
Guest
Posts: n/a
 
      28th Oct 2010
Mike,

I would post the worksheet, but the spreadsheet is over 10 MB and
has too many external dependencies - you'd basically see a lot of
cells with error results.

When you make a selection in the drop down list, the font
appearance is correct.

But selecting another cell causes the selection in the drop down
list to switch to what looks like a very jaggy MS Sans Serif Bold
font.

In Excel 2007, inserting an ActiveX Combo Box on a blank worksheet
nets the same result.




Exceluser
 
Reply With Quote
 
Mike S
Guest
Posts: n/a
 
      29th Oct 2010
On 10/28/2010 2:48 PM, exceluser wrote:
> ...When you make a selection in the drop down list, the font
> appearance is correct.
> But selecting another cell causes the selection in the drop down
> list to switch to what looks like a very jaggy MS Sans Serif Bold
> font.
> In Excel 2007, inserting an ActiveX Combo Box on a blank worksheet
> nets the same result.


Without seeing it it's hard to tell, how about setting the combobox font
properties in the Enter event? Will that correct it?

Private Sub ComboBox1_Enter()
'set font properties here
End Sub

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can you change the font and font size for a forms control ? exceluser Microsoft Excel Programming 0 26th Oct 2010 02:22 AM
How can I change font size, font type, page size etc. permanently? ferroburak Microsoft Word Document Management 2 2nd Jan 2009 03:03 PM
how do I change the font size in a combo box from the forms toolba =?Utf-8?B?bGR1cnN0?= Microsoft Excel Misc 1 30th Jun 2006 03:08 AM
Change Default Font Size in Forms =?Utf-8?B?SGFmZWV6?= Microsoft Access 1 19th Feb 2005 02:39 AM
Change font size in an options button (Forms Control) Paul Microsoft Excel Misc 2 17th May 2004 10:01 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:19 AM.