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.

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

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