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
Rhodochrosite | Level 12

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
Rhodochrosite | Level 12

Use the RTF destination not the HTML destination.

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.

Register today!
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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 416 views
  • 2 likes
  • 3 in conversation