Cannot upload a spreadsheet at the moment unfortunately but I will try to explain clearly
I have a template sheet which usually has 50k to 75k rows, and about 70 columns pasted into it.
What the template does is generate spreadsheets based on each unique value in a selected column.
The template file itself will be used for a variety of applications, so the column the file is to be split by can have variable data in it.
I created a simple form to simplify the process of selecting a column. It contains a large listbox which populates with the Headers pasted into the template;
Nothing too exciting there...
On the bottom, I have a label (label3) which is to indicate the total number of spreadsheets that will be created. This is based on the number of unique values in the selected column. My initial attempt was to use a helper sheet (TEMP) with some pre-set formulas which listed the header columns from the DUMP sheet, and a formula to count unique values in the DUMP sheet, and use a worksheetfunction.vlookup to extract the value
While this method works fine in testing with a couple dozen rows, having 80,000 rows and 100 columns makes things run awful slow.
I attempted a VBA solution to count the uniques per column but it was equally as slow....I forget where that code was from though :\
Any ideas? Let me know if more information is needed.
Bookmarks