PC Review


Reply
Thread Tools Rate Thread

Combo Box Row source problem

 
 
ranswert
Guest
Posts: n/a
 
      5th Mar 2008
I have been having a problem with the row source on a combo box. I have the
range named 'drwlistrng' for the row source. I have a procedure that adds
items to the range and in that procedure the named range adds the row to the
rangename. When combo box list is pulled up the the last item added to the
range does not come up. I will go in the name box and select 'drwlistrng'
and the full range is highlighted. I can't figure out what is wrong.

Any Ideas?
Thanks
 
Reply With Quote
 
 
 
 
Greg Wilson
Guest
Posts: n/a
 
      5th Mar 2008
My assumption is that you are refering to a combobox on a userform since the
terms ListFillRange and Input Range are used for ComboBoxes on a worksheet
respectively from the Control Toolbox toolbar and Forms toolbar.

In the routine that adds to the range, after making the addition, update the
combobox by running this:
ComboBox1.RowSource = "drwlistrng"

Obviously, change the name of the combobox to suit.

Greg

"ranswert" wrote:

> I have been having a problem with the row source on a combo box. I have the
> range named 'drwlistrng' for the row source. I have a procedure that adds
> items to the range and in that procedure the named range adds the row to the
> rangename. When combo box list is pulled up the the last item added to the
> range does not come up. I will go in the name box and select 'drwlistrng'
> and the full range is highlighted. I can't figure out what is wrong.
>
> Any Ideas?
> Thanks

 
Reply With Quote
 
ranswert
Guest
Posts: n/a
 
      5th Mar 2008

I think that will works.
Thanks alot
"Greg Wilson" wrote:

> My assumption is that you are refering to a combobox on a userform since the
> terms ListFillRange and Input Range are used for ComboBoxes on a worksheet
> respectively from the Control Toolbox toolbar and Forms toolbar.
>
> In the routine that adds to the range, after making the addition, update the
> combobox by running this:
> ComboBox1.RowSource = "drwlistrng"
>
> Obviously, change the name of the combobox to suit.
>
> Greg
>
> "ranswert" wrote:
>
> > I have been having a problem with the row source on a combo box. I have the
> > range named 'drwlistrng' for the row source. I have a procedure that adds
> > items to the range and in that procedure the named range adds the row to the
> > rangename. When combo box list is pulled up the the last item added to the
> > range does not come up. I will go in the name box and select 'drwlistrng'
> > and the full range is highlighted. I can't figure out what is wrong.
> >
> > Any Ideas?
> > Thanks

 
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
Problem With Combo Box 'Row Source' Query (Scope of VB Variable) Don Microsoft Access Form Coding 3 23rd Oct 2005 05:08 PM
Changing row source in combo box 'B based on contents of combo box =?Utf-8?B?UGFyaWFo?= Microsoft Access Forms 1 17th Sep 2004 10:25 PM
Combo Box - Confused on Record Source vs Control Source ? ZBC Microsoft Access Forms 2 13th Jan 2004 12:37 AM
Combo box row source problem Ling Microsoft Access Form Coding 2 27th Oct 2003 03:04 AM
Store non-bound combo column as combo's control source? Nick Mirro Microsoft Access Forms 5 1st Sep 2003 03:19 AM


Features
 

Advertising
 

Newsgroups
 


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