Hi everyone
I'm confused about picking choices from a ListBox (which are the column Names of a TABLE ) and creating a NEW TABLE based on this choices. I'm doing this because the Maintenance Director will not want to print the whole Worksheet everytime but he wants to be able to choose the columns then print just those columns.
I created a Userform to get the Columns the USER will want to print but at this point I don't know how to manipulate the column names to create the Table (In Sheet2 perhaps) then print it. I read an article in the NET about Converting a Range to a Table then picking parts of that Table to "construct" the new Worksheet but again I'm very confused. I'll appreciate any suggestions. (Many of the code statements is from the NET and I modified it to work for my Application)
Thanks
Sample of the Worksheet:
Worksheet.JPG
The UserForm:
PrintColumns.JPG
The CODE:
Please Login or Register to view this content.
Bookmarks