LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #8   Report Post  
Posted to microsoft.public.excel.programming
Jay Jay is offline
external usenet poster
 
Posts: 671
Default Combo Box Form Control

Hi Lambs -

We'll get this back on track and the frustration will melt away...

It sounds like you added the control to the worksheet using the Forms
toolbar. Delete that dropdown control and add one using the Control Toolbox.
The Control Toolbox produces more modern controls that can be handled more
consistently. To add a combobox control from the Control Toolbox:

1. Turn on the Control ToolBox toolbar by right-clicking on any toolbar and
choosing 'Control Toolbox'.

2. Click on the Combobox button (in the toolbox) and draw your combobox on
the worksheet.

3. You'll see the new combobox appear with some circular "handles" along
its perimeter. That means you are in DesignMode and can edit the combobox
size and properties. Right-click the combobox and choose [Properties].

4. Find ListFillRange in the Properies window that opens and enter a
worksheet range that holds the list of options for the combobox, e.g.,
A10:A50.

5. At the top of the Properties window you'll see the 'Name' property.
Make a note of the name for later (it might be Combobox2, Combobox3, etc.
depending on how many you have constructed).

6. Close the properties window.

7. Double-click the combobox to open the worksheet module and copy the code
I provided there. Edit the name of the combobox in the VB code to match the
name noted in Step 5.

8. Switch back to the worksheet and turn off the Control DesignMode by
clicking the DesignMode icon in the Control Toolbox. Done.

------

Making an entry in the combobox should run its Change event. Good luck and
let me know what's next.

---
Jay


 
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
Syntax for control source in combo box control dhstein Excel Discussion (Misc queries) 1 August 12th 09 05:38 PM
Disable dropdown list (Combo box -"Form control") Vinod[_2_] Excel Worksheet Functions 1 November 5th 07 06:01 PM
"Combo Box - getting control combo box to stick in place in worksh ajr Excel Discussion (Misc queries) 1 February 16th 05 02:05 AM
"Combo Box - getting control combo box to stick in place in worksh ajr Excel Discussion (Misc queries) 0 February 15th 05 07:45 PM
Control Tab from Combo box- format control missing!! Mo Excel Discussion (Misc queries) 3 January 7th 05 01:09 PM


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