Hi,
I am getting data from database in SAS Enterprise 7.1 and my next step is to automate the mail merge process using SAS.
Is it possible using SAS that I can merge the data with a Microsoft word template, generate letters and send those letters as an attachment to the designated customers?
Any kind of help would be great.
Thanks in advance!
Thanks,
Siddhant
Automation of Microsoft Office is best done with VBA. The csv for the variable fields in the Word-template can be created by SAS.
Thanks for the quick response and I completely get that writing the VBA code is more efficient as this was my suggestion as well, but the requirements are that I need to use SAS to do the process. Is there any way that this can done using SAS?
Thanks,
Siddhant
For Word templates, you need Word. The crucial activity has to happen in MS Office.
If you need to do this entirely using SAS, then see my post from yesterday.
Vince DelGobbo
SAS R&D
There are ways to send bulk email using ODS and the EMAIL engine of the FILENAME statement. Here are some references:
https://www.lexjansen.com/search/searchresults.php?q=email
Vince DelGobbo
SAS R&D
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.
Find more tutorials on the SAS Users YouTube channel.