Setting Combo box Range for Worksheet Control

  • Thread starter Thread starter Limits
  • Start date Start date
L

Limits

For the Format Control Input Range for the list source of
a combo box, is it possible to use a variable? If so, a
simple example would be appreciated.
 
Limits,

For example, insert a range into your sheet named "tester". Then enter
tester (without quotes) into the input range box.

hth,

Doug
 
Is there a way to do this through a variable set within
the assigned Macro?
 
Limits

A range variable?

Sub fillcb()

Dim rng As Range

Set rng = Sheet1.Range("A1:A4")

Sheet1.DropDowns(1).ListFillRange = rng.Address

End Sub
 

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

Back
Top