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: 11
Default Excel ActiveX Combo - AutoComplete and LIst Issues

I have gone around the hoop with testing the combo box - ActiveX control in
Excel 2003.
What Im trying to do is to set a combobox with a 2 column list from a
worksheet and have the auto complete actually work! There are a number of
problems as follows:

Prob 1 - If you just retrieve a list from a worksheet, it cannot contain
blank rows otherwise they will be displayed in the combobox. Thus, ust
setting the listfillrange to a range in a workbook is no good here €“ There
will always be at least one blank row maybe more.

Solution 1 €“ I have used an array formula to create a list without spaces
and use an offset function to pick up the list. This work fine. I have even
defined the offset function as a name so I can easily reference it. Im using
this for data validation.

Problem 2 €“ data Validation with dropdown doesnt provide any matching
function €“ its just a drop down list. Thus I have set up a way to
automatically display a combobox in the cells with data validation and have
set the listfill, size and other properties on activation. Again this works
fine, except, by referencing a range of formulae instead of just raw data,
the list matching stops working. The list displays but there is no
autocomplete. ON further research, autocomplete fails if you reference a
range of formulae rather than raw data. Or perhaps I should say complex
formula . Actually, if you reference the complex formula range to another
range on a different sheet using a simple €œ=cellref€ then it works again
however that is very impractical.

Solution 2 €“ Load the data into an array and then set the list from the array.

Problem 3 €“ that doesnt work either. The autocomplete fails when you load
from an array.

Ive got to the end of my self discovery and am wondering if anyone can shed
some light or offer alternative suggestions. Its so frustrating as it would
make such a great solution and I feel that it should work and am so close but
cant quite get there.

 
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
autocomplete combo box from contextures.com novice973 Excel Programming 0 March 25th 08 11:48 AM
Autocomplete combo box Learning Excel Excel Worksheet Functions 5 January 15th 08 05:39 AM
How to insert a list in the ActiveX combo box Carl Snider New Users to Excel 1 February 8th 07 10:28 PM
Combo Box filter with autocomplete [email protected] Excel Programming 6 August 14th 06 09:13 PM


All times are GMT +1. The time now is 08:22 AM.

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"