G
Guest
I have a table of data, with column headers.
I've got a userform (my first one!) and users first select which column
headers, then select which data within those headers
(EG. They select "Users" and "Date Worked" and then select "Tom" and "Frank"
from the Users and "13/10/06" and "10/10/06" from Date Worked)
When the Finish button is pressed i've already got it creating a new
worksheet and naming it "Results" then putting the column headers in the
order depicted by the user.
I'm at a loss how to copy the rest of the information over though.
Users Date Worked
Tom 10/10/06
Tom 13/10/06
Frank 10/10/06
So that all the information that relates to the selected data is copied. And
obviously if a row of data with "Tom" as user and "10/10/06" as Date worked
wasn't present, this wouldn't be included.
Listbox4 -> Listbox8 include the column headers (these listboxes can only
have 1 or 0 entries)
Listbox11 -> Listbox15 include all the unique references in the columns
corresponding to listbox 4 -> 8. And these boxes allow multiple selection (so
you are able to choose "Tom" and "Frank" at the same time.
Listbox2 includes a list of the column headers as well, and Lisbox3 contains
everything from Listbox2 minus anything that has been moved to Listbox4 ->
Listbox8. The headers from Listbox3 that arn't moved should include all
information (since the headers are moved to allow selection of specific
items, anything left should contain everything)
I'm not expecting someone to write the entire thing, but a pointer in how to
get this done would be great.
Cheers
I've got a userform (my first one!) and users first select which column
headers, then select which data within those headers
(EG. They select "Users" and "Date Worked" and then select "Tom" and "Frank"
from the Users and "13/10/06" and "10/10/06" from Date Worked)
When the Finish button is pressed i've already got it creating a new
worksheet and naming it "Results" then putting the column headers in the
order depicted by the user.
I'm at a loss how to copy the rest of the information over though.
Users Date Worked
Tom 10/10/06
Tom 13/10/06
Frank 10/10/06
So that all the information that relates to the selected data is copied. And
obviously if a row of data with "Tom" as user and "10/10/06" as Date worked
wasn't present, this wouldn't be included.
Listbox4 -> Listbox8 include the column headers (these listboxes can only
have 1 or 0 entries)
Listbox11 -> Listbox15 include all the unique references in the columns
corresponding to listbox 4 -> 8. And these boxes allow multiple selection (so
you are able to choose "Tom" and "Frank" at the same time.
Listbox2 includes a list of the column headers as well, and Lisbox3 contains
everything from Listbox2 minus anything that has been moved to Listbox4 ->
Listbox8. The headers from Listbox3 that arn't moved should include all
information (since the headers are moved to allow selection of specific
items, anything left should contain everything)
I'm not expecting someone to write the entire thing, but a pointer in how to
get this done would be great.
Cheers