I don't think that you can do this with sas, but there are so many papers about creating excel-files with tables and graphs, maybe one of the brings you closer to the required format.
Ready to join fellow brilliant minds for the SAS Hackathon?
Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.