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-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

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
  • 972 views
  • 0 likes
  • 2 in conversation