BookmarkSubscribeRSS Feed
hk2013
Fluorite | Level 6

I have a sas eg code macro that makes a excel file for 200 different people and i have another code that sents out an email to the same 200 people but using different data sources. What would be the best way to add the excel attachment to the email code. 

 

 what i am trying to do it that if the name or email of the people from the attachment match the data from the email code than attach the excel file to the email and send out. Is there a general code that we can use to do this.

1 REPLY 1
Kurt_Bremser
Super User

Make code for one person that solves the issue for that one person (creation of Excel file and sending email).

Post that code here, so we can give you hints how to run it dynamically for all persons.

sas-innovate-2024.png

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.

 

Register now!

SAS Enterprise Guide vs. SAS Studio

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 572 views
  • 0 likes
  • 2 in conversation