Hi RW9, thanks for a speedy reply 🙂 I should have clarified the output goal better... The final outcome I am trying to reach is to have a separate excel document for each account. As it stands, my code will run 4 queries and produce an excel spreadsheet that contains 4 worksheets (for each query). I can run this code one account at a time for each account, but hoping to speed up the process for large batches... My thinking was to loop the accounts from my list into the " %let Master_Account = "123456789"; " section of the code.. this would allow the code to generate a separate spreadsheet for each set of queries. What are your thoughts?
... View more