BookmarkSubscribeRSS Feed
sasuser_sk
Quartz | Level 8

Hello All - I have built a program code to export SAS data to server and then off to local drive. I have 1 excel workbook(called results) with 2 spreadsheets in it.

Then I ran proc tabulate(pivot table-below) and now I want to add the output/sas report(in pic below) from tabulate in the same format to the RESULTS workbook(export to server in the pic below is generating that excel workbook on server).

 

Can someone help please!

 
 
 

Capture1.PNG

 

 

 

2 REPLIES 2
ChrisNZ
Tourmaline | Level 20

You probably should put the proc tabulate in a ods excel block rather than run it beforehand.

sasuser_sk
Quartz | Level 8

Thanks for your reply. I tried ODS Excel and that exports data but not the same format of the output from proc tabulate. Although ODS PDF does the work but I'm wanting to see if exporting the same format to excel is doable in one way or another.

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

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