listboxes

  • Thread starter Thread starter john.9.williams
  • Start date Start date
J

john.9.williams

how can i set the control source of a list box to return the entire row
form a list

john
 
You can't. You would have to write code to populate your destination with
that information.
 
Private Sub Listbox1_Click()
rw = 1
cells(rw,1) = Listbox1.Value
for i = 1 to listbox1.Columncount -1
cells(rw,i + 1).Value = listbox1.list(Listbox1.ListIndex, i)
Next
End Sub

Above pseudo code would represent and approaqch
 

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