View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Buddy Lee Buddy Lee is offline
external usenet poster
 
Posts: 16
Default data from listbox to cells

I've a 6-column listbox and I set the RowSource property to a named range. I
tried to copy selected row from listbox to worksheet but it does not work
( sometimes does, sometimes does not :( I dont understand why ) What is
wrong?

For index = 1 To 6
Worksheets("sht1").Cells(7 + index, 9) =
ListBox1.list(ListBox1.ListIndex, index - 1)
Next index

--

icq 25372592