BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Barkamih
Pyrite | Level 9

 

Hi all

 

I just want to send this graph to a word document, but I could not open the finle, it is like a harmful file 

I got it as a pdf but I need it in a word because of some edting will be later on.

 

Im using microsoft 2016

 

regards

 

Ibrahim 

ODS html FILE = 'C:\Users\Barkamih\Desktop\Curves results\mkg.rtf';
proc sgplot data=fitmilk;
series y=MKG x=time / group= pr ;
yaxis values = (0 TO 40 BY 5 );
xaxis values = (1 to 12 by 1);
run;
ODS html CLOSE;
1 ACCEPTED SOLUTION

Accepted Solutions
WarrenKuhfeld
Ammonite | Level 13

Use the RTF destination not the HTML destination.

View solution in original post

2 REPLIES 2
ballardw
Super User

@Barkamih wrote:

 

Hi all

 

I just want to send this graph to a word document, but I could not open the finle, it is like a harmful file 

I got it as a pdf but I need it in a word because of some edting will be later on.

 

Im using microsoft 2016

 

regards

 

Ibrahim 

ODS html FILE = 'C:\Users\Barkamih\Desktop\Curves results\mkg.rtf';
proc sgplot data=fitmilk;
series y=MKG x=time / group= pr ;
yaxis values = (0 TO 40 BY 5 );
xaxis values = (1 to 12 by 1);
run;
ODS html CLOSE;

Do not lie to the office procedures. If you want RTF output use either ODS RTF or ODS tagsets.RTF to create actual rtf output.

While many programs that read rtf will also read HTML they have to know it is html to use the conversion tools.

 

 

WarrenKuhfeld
Ammonite | Level 13

Use the RTF destination not the HTML destination.

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

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
  • 823 views
  • 2 likes
  • 3 in conversation