Google
 
Webnews.only-4-geeks.com
Interesting places
news.only-4-geeks.com Forum Index » Excel

Combox - Can I make it pull from a function (or use some oth

 
Jump to:  
 
Andrew Backer
PostPosted: Thu Aug 07, 2008 5:45 pm    Post subject: Combox - Can I make it pull from a function (or use some oth
       
I have written a nice little function that returns a list of values
that i would like to use in a combo box. So far, It seems I can only
pull from a named range for the values.

The background:
The contents of the combo need to vary depending on the value in the
box next to it. Basically, we have a big lookup table and we use the
value to the left of the combo box to filter that data through a
custom function. The function comes in because we need to remove
dupes, blanks, and clean it up somewhat.

Is there any way, even a round-about way, to get it to use the
function? Some kind of temporary named range on another page? A way
to use another function inside the named range formula to maybe
determine which range on another sheet to use (and the calling of the
function could force a recalc?)

I am open to an alternate approach, but I still need a validating cell
that is either a dropdown, or has some form of autocomplete!

Thanks,
//Andrew
 

 
Matt Richardson
PostPosted: Fri Aug 08, 2008 11:38 am    Post subject: Re: Combox - Can I make it pull from a function (or use some
       
On Aug 7, 6:45 pm, Andrew Backer <awbac...@gmail.com> wrote:
Quote:
I have written a nice little function that returns a list of values
that i would like to use in a combo box.  So far, It seems I can only
pull from a named range for the values.

The background:
The contents of the combo need to vary depending on the value in the
box next to it.  Basically, we have a big lookup table and we use the
value to the left of the combo box to filter that data through a
custom function.  The function comes in because we need to remove
dupes, blanks, and clean it up somewhat.

Is there any way, even a round-about way, to get it to use the
function?  Some kind of temporary named range on another page?  A way
to use another function inside the named range formula to maybe
determine which range on another sheet to use (and the calling of the
function could force a recalc?)

I am open to an alternate approach, but I still need a validating cell
that is either a dropdown, or has some form of autocomplete!

Thanks,
//Andrew

I've attached a possible way that it could be done, where you can use
HLOOKUPS and their results to change the values in a named range and
therefore change the contents of the ComboBox. Is this the kind of
thing you're after, or am I barking up the wrong tree?

File is here:-

LINK

HTH

Mat Richardson
LINK
 

Page 1 of 1 .:.

Google
 
Webnews.only-4-geeks.com

Windows Update | C++ | C | PHP | JavaScript | Photoshop | Programming | Windows 2000 | Python | Windows XP | Object | Flash | Flash - ActionScript | Paint Shop Pro | Excel | PowerPoint | Access | Word | Windows 98 | Internet Explorer 6.0 | CorelDraw12 | Java | XML | asm x86 | Linux Mandrake | Linux RedHat | Outlook |  | news from newsgroups |_ | s

Web Templates

Awesome Website Templates ©

kalkulator kredytowy mieszkania wynajem opisy na gg gry do pobrania Meble dla dzieci