I was trying to write a macro to create multiple documents based on filtered criteria from a pivot table I am sent daily, but it became clear that VBA was probably a much better solution as I kept getting 1004 errors 'unable to set the visible property of the pivotitem class'. I need help with a code that can filter Column I by employee name, then Column D by city name, and then copy everything from Columns A thru Q and paste to a new excel document, 1 document for each employee listed by name, with tabs for each city. Is this possible?
Because this is being extracted from a pivot table, and it contains financial info, I'm unable to upload an example spreadsheet. I have uploaded a picture to give you an idea of what I am working with, with redacted names.
Thank you in advance for any and all help you can provide.
Bookmarks