Macro to Select item in field, paste in worksheet in excel, loop through
Please see my code below for a macro. The macro runs but it only copies and pastes the data into one sheet to excel. The macro does create 5 sheets but doesn't paste data or change the name of any of them except the first one (like it doesn't loop through, but as you'll see I'm referring to the Sheets(SheetCounter) to tell it to move on).
The final output should have 5 tabs in the excel document with the name of the "Hold_Resp." Each of their tabs should have their data filtered by their name. Please let me know why this isn't working. Thanks!
Re: Macro to Select item in field, paste in worksheet in excel, loop through
I know it's not a macro, but the NPrinting application does this - looping through values in a field and creating an Excel worksheet for each one, containing the data associated with that value of that field. It does lots of other things too of course!
Might be worth a look if you're looking for something robust and more usable & extendable than a macro...