Listbox selected

F

fi.or.jp.de

Hi All,

I have created a listbox in userform.
Listbox display details of Activeworksheet.

If two or three items in a listbox are selected.
In a single short can I update new value for those
which I have selected ? the result will be
updated in activeworksheet.

Please help me

Thanks in advance.
 
P

Patrick Molloy

you can iterate through for selected items

with listbox1
for i = 0 to .listcount-1
if .selected(i) then
'' do something
end if
next
end with

it really depends on how you want the data changed.
 
R

royUK

You can, it depends on your data layout , number of columns in the
Listbox etc.

You should be able to get the Row Number of the selection from the
listIndex.

It would help to see an example workbook

HOW TO GET FURTHER HELP WITH A WORKBOOK
For further help with it why not join our forums (shown in
the link below) it's completely free, if you do join you will have the
opportunity to add attachmnets to your posts so you can add workbooks to
better illustrate your problems and get help directly with them. Also if
you do join please post in this thread (link found below) so that people
who have been following or helping with this query can continue to do
so. :)
 

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