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: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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