Hola
This is my first post but I've been to this site many times for useful information so thank you! In fact, the code below is based on some code I found here I believe.
My intention is to create x number of workbooks based on values in column k (RepAssign). X is precisely my hang up. I've been able to write code to filter by values in a column to copy the filtered data to a new workbook, however, the values were static in the past.
My new code is splitting out records evenly based on user input, a prompt asks the user how many ways to split the rows. For testing, I went with 3 so I'd like to end up with 3 new workbooks for example, leaving the original/source workbook as is. It could be anywhere from 2 to 20 workbooks being created, again depending on user input. See attached for sample data.
Existing code;
Thanks!![]()
Please Login or Register to view this content.
Bookmarks