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
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
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.