LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default combobox control how to's?

Hi,

Using Excel 2003 and I'm making a form. On this form I have a combobox
control that I would like to populate from a call made to a remote database,
SQL 2000. The only way I can see how to do this so far is to retrieve the
list to an Excel range of cells. My problem is that the number of items
returned in the list will vary from time to time, how can I accomodate this?
I would also rather not have another worksheet open just for garbage like
this if possible, doesn't seem very clean.

For now I'm populating the list manually using additem, which is working Ok.
But when I run the form the control is initially blank, how can I set a
default value? I'm more used to Visual FoxPro and the combobox control they
provide has a 'FirstElement' property I use for this purpose but I don't see
that property here. Oh, I do have the style set to 2 - fmStyleDropDownList.

Thanks in advance,
Linn


 
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
form control combobox Gail Excel Discussion (Misc queries) 7 October 2nd 09 07:27 PM
Control ToolBox ComboBox Steve D Excel Discussion (Misc queries) 1 July 1st 09 05:17 PM
Excel Combobox Box Control [email protected] Excel Programming 2 April 10th 06 07:48 AM
ActiveX ComboBox Control on Sheet quartz[_2_] Excel Programming 2 January 13th 05 06:31 PM
Run time combobox control in excel Anu Excel Programming 0 January 20th 04 01:11 AM


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