BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
wlierman
Lapis Lazuli | Level 10

My question is: How do I copy frequency tables from the Results pane to another format like pdf or excel so they can be emailed to other individuals? 

proc freq data=ANALYZE4.urban_rural;
by clm_type_ohg_desc;
table flag_telehealth*desi

The tables in the Results viewer are labeled sashtml.  When I right-click on the table and 'Export to Excel' appears.   But I can't locate the excel worksheet.

So, in summary I need to copy frequency tables from the Result Viewer to another format (Excel would be best, however, as I mentioned I can't locate the resulting excel worksheet).

 

Thank you for sharing your time and expertise on this.

 

wlierman

1 ACCEPTED SOLUTION

Accepted Solutions
PaigeMiller
Diamond | Level 26

Not a copy and paste at all.

 

ods pdf file='myfile.pdf';
proc freq ...
...
run;
ods pdf close;

 

 

or ODS EXCEL

 

--
Paige Miller

View solution in original post

4 REPLIES 4
PaigeMiller
Diamond | Level 26

Not a copy and paste at all.

 

ods pdf file='myfile.pdf';
proc freq ...
...
run;
ods pdf close;

 

 

or ODS EXCEL

 

--
Paige Miller
wlierman
Lapis Lazuli | Level 10
Thank you.  The pdf is created.
wlierman
PaigeMiller
Diamond | Level 26

@wlierman 

Please help all users of this community by marking my answer as correct.

--
Paige Miller

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