PC Review


Reply
Thread Tools Rate Thread

combo box - last value

 
 
Matthew Dyer
Guest
Posts: n/a
 
      24th Nov 2010
Also posted in the public.excel group discussion but also bringing it
here cuz i think it will ultimately require macro...

I have a combo box (not activex) that pulls it's values from a column
that varies in length. Currently I'm using the entire row (A:A) for
the input range. As you can guess, this results in MAAANY blank
entries in the box. Is there a formula or some other way so that the
combo box will stop at the end of my range of data without writing a
macro to load it that way?
 
Reply With Quote
 
 
 
 
GS
Guest
Posts: n/a
 
      24th Nov 2010
It happens that Matthew Dyer formulated :
> Also posted in the public.excel group discussion but also bringing it
> here cuz i think it will ultimately require macro...
>
> I have a combo box (not activex) that pulls it's values from a column
> that varies in length. Currently I'm using the entire row (A:A) for
> the input range. As you can guess, this results in MAAANY blank
> entries in the box. Is there a formula or some other way so that the
> combo box will stop at the end of my range of data without writing a
> macro to load it that way?


You could make the list a dynamic range that automatically sizes itself
to the number of rows that contain data.

--
Garry

Free usenet access at http://www.eternal-september.org
ClassicVB Users Regroup! comp.lang.basic.visual.misc


 
Reply With Quote
 
Dave Peterson
Guest
Posts: n/a
 
      24th Nov 2010
Check that other post, too.

On 11/23/2010 18:02, Matthew Dyer wrote:
> Also posted in the public.excel group discussion but also bringing it
> here cuz i think it will ultimately require macro...
>
> I have a combo box (not activex) that pulls it's values from a column
> that varies in length. Currently I'm using the entire row (A:A) for
> the input range. As you can guess, this results in MAAANY blank
> entries in the box. Is there a formula or some other way so that the
> combo box will stop at the end of my range of data without writing a
> macro to load it that way?


--
Dave Peterson
 
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
Access 2007 - Combo Boxes to break down list in othe combo box A_Barnes General Software 1 23rd Jul 2011 03:05 PM
combo box selection runs query to sum values in table not gettingparameter from combo box RCGUA Microsoft Access Form Coding 2 23rd Jul 2009 01:32 AM
Open form based on combo box value w/error message for blank combo box Ruth Microsoft Access 0 20th Apr 2007 11:00 PM
Two combo combo boxes on form to select specific report =?Utf-8?B?Q2h1Y2tX?= Microsoft Access Forms 1 12th Sep 2005 10:25 PM
"Combo Box - getting control combo box to stick in place in worksh =?Utf-8?B?YWpy?= Microsoft Excel Misc 0 15th Feb 2005 07:45 PM


Features
 

Advertising
 

Newsgroups
 


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