Hi,
I want to write all the selected values in a listbox in a range of cells. Every time listbox.selection(x) = true, I increase the offset of the range in the worksheet with the variable i.
It works perfect if I don't write to the worksheet. For exemple if I don't change the value but instead select the cell.
But when I change the value of the cell in the worksheet the variable i doen't count anymore.
When I select 5 things for example cell A1 is the first selected thing in the listbox, the other cells stay empty.
The following code works perfect, when I select 5 things, cell A6 is selected.![]()
Please Login or Register to view this content.
![]()
Please Login or Register to view this content.
Bookmarks