Thank you for your post, Martin. How can I make this work if I have two proc sgplot (meaning two graphs to display in the body of email)?