I got this code from AlphaFrog which worked great, however, now it doesn't and I am not sure why.
I have done a lot to the project since implementing this code and am not sure if this is the cause?
The code allows the user to select various columns (not nessariliy in sequence) in the active spreadsheet from Listbox2 and export the columns to a new workbook.
What happens now is that irrelevant of what column heading is selected in the listbox, the code only seems to look at how many items are in the list and returns the number of columns in sequence from 1 to i. I think there is something amiss with the Union?
list box codePlease Login or Register to view this content.
Please Login or Register to view this content.
Bookmarks