PC Review


Reply
Thread Tools Rate Thread

Combo Box Loading

 
 
EA
Guest
Posts: n/a
 
      17th Oct 2006
I have a combo box on a worksheet that requires loading with worksheets
names if a certain criteria is met by the worksheet.

I have the names of the worksheets required listed on the worksheet via
formula.

Initially I created a dynamic named range which covered just the rows I
required and set the ListfillRange with this dynamically named range. The
problem with this was that every time anything was changes on any of the
workbooks the Change event of the combo box was fired!

I then changed the dynamically named range to a static range and tried to
use the DropButtonClick event of the combo box to created the combo options
using AddItem. If managed to only add the sheet names I required and
ignored the others. The first problem with this was that when you use the
down arrow the list gets long as worksheets names are added multiple time.
I got around this by clearing before each routine. This them presented me
with the problem that the users selection was not displayed.

The methods I have used are obviously not functional, so does anyone have
any idea how I can populate a combo box with selective options. The options
need to be checked everytime the user clicks the dropdown arrow.


 
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
Loading combo box list Greg Snidow Microsoft Excel Programming 3 26th Jan 2010 08:02 PM
Help!! Error 3265, loading from combo bx to combo bx & to txt box mju Microsoft Access 0 11th Aug 2009 03:48 PM
Combo box loading Boon Microsoft Access Forms 3 2nd Oct 2008 10:10 PM
loading a combo box with and without recordset =?Utf-8?B?Q2hyaXM=?= Microsoft Access Form Coding 1 28th Apr 2005 04:01 PM
Combo Box loading speed Aaron Microsoft Dot NET Compact Framework 3 25th Nov 2003 10:08 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:47 PM.