Accessing DropDown box from a Userform

G

Guest

I have a combo box on a user form and when the user changes the value in the
combo box, I want to change input range in a dropdown box on a worksheet.

My combo is cboGrade on userform frmInput and my dropdown is DropDown5 (I
can't work out how to change its name) on sheet "Calculations"

Currently the input range of DropDown5 is Constants!$A$1:$A$50
Any ideas please?
Regards
Stephen
 
S

Shailesh Shah

Hi Stephen,

Try this for changing input range in a dropdown box on a worksheet.

Sheets("Calculations").Shapes("Dropdown5").Select
Selection.ListFillRange = $B$1:$B$50 'Change to suite

To change the name of dropdown first select it & Click in the Name Box.

Regards,
Shah Shailesh
http://members.lycos.co.uk/shahweb/
 

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

Top