I'm using PowerQuery to produce a table containing one column of email addresses. I want these email addresses to be my distribution list in an email. I'm using VBA to create an email window with the addresses already populated.
Originally, I was using a loop to cycle through the column of email addresses and adding to the string variable with each loop. When completed, I put that string into the To: field in my code and all is fine.
But instead of using a loop, is there a way I can assign a variable to the databodyrange of the table produced by PowerQuery?
Originally, I was using a loop to cycle through the column of email addresses and adding to the string variable with each loop. When completed, I put that string into the To: field in my code and all is fine.
But instead of using a loop, is there a way I can assign a variable to the databodyrange of the table produced by PowerQuery?