Copy text from a List box to a Cell!

P

Patrick Molloy

assign a macro to the list box's change event that simply
copies the listbox's linked cell to the selected cell...

Sub DropDown1_Change()
Selection.Value = Range("N6").Value
End Sub
In this sprocedure, N6 is the listbox's linked cell. when
a valuie in the list is selected, the macro is called and
hte value copied from N6 to the selected cell.

If you used the ActiveX listbox, then you'd do it simply
from the obnject's change event....
Private Sub ComboBox1_Change()
Selection = ComboBox1.Value
End Sub


Patrick Molloy
Microsoft Excel MVP
 

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