Hi All,
I run a query that has 10 accounts and I'm trying to write a program that will take the original data dump and create a new worksheet, rename it for a given account # and delete all accounts except a specified one and repeat until I have a worksheet for each account and still have the results from the original query. The approach I'm taking seems to work when I started writing it for just one account but I run into problems when I add the block of code for the other account. It seems to run super quick for one but when the coding for the other accounts is added the procedure runs and runs and I have to break the script. Even when I comment all the other accounts and try to run the first account I run into different errors. Can anyone see a problem or have a recommendation for a different approach?![]()
Please Login or Register to view this content.
Bookmarks