BookmarkSubscribeRSS Feed
tarheel13
Rhodochrosite | Level 12

Does anyone have code for concatenating RTF output? 

http://pharma-sas.com/a-sas-macro-to-combine-portrait-and-landscape-rtf-files-into-one-single-file/

 

I have tried this with just 2 files as a test but they were figures. It didn't quite get what I wanted. The figures were at the center of the page at first but when I ran this code, the figure on the first page was left aligned instead of center aligned. However, the figure on the second page of the report was where I wanted it to be.

2 REPLIES 2
Reeza
Super User
Usually, I'd redesign my output process instead to avoid that issue - either by re-ordering code or controlling the destination output with the ID option so that each content is written to the correct file. Otherwise, you're stuck using VBS or getting into the raw RTF files which are just text really.
tarheel13
Rhodochrosite | Level 12

They're in the right files. The issue is the first figure moved to the left and I want it in the center of the page.

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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