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.
The 2025 SAS Hackathon has begun!
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.