Hi Samuel
Andrew's method works beautifully, but of course I didn't just write to say that;)
You didn't say this, but I want to go one step further, and enter a note in each customer's record to the effect that an email was sent.
In order to do this, I want to be able to take the Excel file that is created in GridView and import it into a scan list in Adagio SalesCQ, and then generate the emails out of SalesCQ, which has that functionality. SalesCQ also has the ability to mass create customer notes.
For this to work, the Excel file need only be one column - the customer code. Once the scan list is generated, then SalesCQ uses the email and other fields straight from the database.
Oh, by the way, SalesCQ doesn't have the ability to import scan lists (yet). But if I have my way, it will someday.
Steve