Originally Posted by
Juhanen II
Thanks Roy. However, there's a mistake in the code:
For example if Wed is chosen in Listbox1 , instead of w2,w3,w4 ListBox2contains w5, w7, w11. (So instead of headings of the matrix, "w"+nonblanc values of the specified row are selected to Listbox2)
There's no mistake in the code, it does exactly what I thought that you wanted. However, I think you want the header row so I have changed the code
Secondly, I would be thankful if the code would use range names when referring to ranges, so that I could use the same code in different matrixes.
-Juhanen-
You will need to adapt the code to suit whatever ranges you want to use
Bookmarks