combobox dropdown

  • Thread starter Thread starter pswanie
  • Start date Start date
P

pswanie

cant get this figured out...

dont get this to work

Private Sub ComboBox1_DropButtonClick()
ComboBox1.RowSource = Range("c2:c65536").End(xlUp).Value


End Sub
 
hi
the rowsource property requires a range or cell address. what is the range
value of
Range("c2:c65536").End(xlUp).Value?

regards
FSt1
 
huh....? i lost u somewhere.. u need the what?

in column c down i got the following but user has the option to add and i
need that in cluded then

George
George Mall
Knysna
 
hi
the rowsource property require a range address like C1:C10 or similar.
you are setting the rowsource property with......

ComboBox1.RowSource = Range("c2:c65536").End(xlUp).Value

written as you have it, it will only select a single cell. so....
what value is "Range("c2:c65536").End(xlUp).Value?" returning.

if it not a range address, you're setting the wrong value to the rowsource
property.

Regards
FSt1
 
i got at the moment the three words that need to display. if the user add any
more that needs be added to the dropdown automaticly.

George
George Mall
Knysna

i allready got the code and setups to add another word.
 
hi
the rowsource property require a range address like C1:C10 or similar.
you are setting the rowsource property with......

ComboBox1.RowSource = Range("c2:c65536").End(xlUp).Value

written as you have it, it will only select a single cell. so....
what value is "Range("c2:c65536").End(xlUp).Value?" returning.

if it not a range address, you're setting the wrong value to the rowsource
property.

Regards
FSt1








- Vis tekst i anførselstegn -

Hi

rSource = Range("C1", Range("C65536").End(xlUp)).Address
ComboBox1.RowSource = rSource

Regards,

Per
 
thanx once more....

ill be sure to mention everybodys help in my project....
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Populate combobox 6
ComboBox Queries 2
combobox 2
HELP: Application-defined or object-defined error 1
Sort Combobox List 1
Error in code 8
excel sheet with control combobox 3
AddItem Method 3

Back
Top