Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8
Default Excel 2007 Combo Box questions

Hello, I am new to Excel and I have 3 question regarding Combo Box:
1. When adding a Combo Box from the ActiveX group, how do I populate the
combo box list to select from?
2. Can the font be changed and if so, how?
3. Where do I write a code to execute once a selection is made from the
Combo Box?
Thank you,
Silvio

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Excel 2007 Combo Box questions

You can use a single column range that is used as the source.

Go into design mode (another icon on that control toolbox toolbar) if you have
to. Then rightclick on the combobox.

Choose Properties.
Then look for ListFillRange and type in the address to use.

You may not need a macro, you may be able to use a linkedcell (another property
you can specify) and formulas???

But if you do, you can double click on that combobox while in design mode and
you'll be taken to the VBE (where macros live). You'll be in the worksheet
module for the sheet that owns that combobox.

You'll see something like:

Option Explicit
Private Sub ComboBox1_Change()

End Sub

And your code would/may go in that procedure.

There are lots of events that you can use for comboboxes from the control
toolbox toolbar.

And look for Font in that property list. You'll see how you can adjust that,
too.

Silvio wrote:

Hello, I am new to Excel and I have 3 question regarding Combo Box:
1. When adding a Combo Box from the ActiveX group, how do I populate the
combo box list to select from?
2. Can the font be changed and if so, how?
3. Where do I write a code to execute once a selection is made from the
Combo Box?
Thank you,
Silvio


--

Dave Peterson
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
excel 2007 questions on how to George Applegate[_2_] Excel Discussion (Misc queries) 1 May 11th 09 06:08 PM
Excel 2007 questions Rick Excel Discussion (Misc queries) 4 November 18th 08 12:01 AM
Excel 2007 questions Otto Moehrbach Excel Discussion (Misc queries) 1 October 28th 07 01:52 AM
excel 2007 questions please Kim K Excel Discussion (Misc queries) 1 July 13th 07 03:34 AM
Combo box questions ckane Excel Discussion (Misc queries) 1 March 13th 07 02:14 AM


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