BookmarkSubscribeRSS Feed
KalaBhairava
Quartz | Level 8

Hello All,

 

Is there any code  to combined Multiple RTF's into single pdf/rtf with out changing Header and footer along with TOC and hyperlinking.

 

Regards,

 

7 REPLIES 7
Kurt_Bremser
Super User

If these are created with SAS, write the reports to a single RTF file in the first place.

If these are not created from SAS, combine them in a word processor (use VBA with Word, for instance).

tarheel13
Rhodochrosite | Level 12

usually 1 program makes 1 table.

Kurt_Bremser
Super User

@tarheel13 wrote:

usually 1 program makes 1 table.


Then all reports should be done in a single program; the preparation of the data can happen in different programs.

tarheel13
Rhodochrosite | Level 12

I worked at a big CRO and that's now really how it happens. there are usually a bunch of programs like t_1_1.sas, which would make Table 1.1. then a big VBA program would put all those RTFs together and be sent to the client. 

tarheel13
Rhodochrosite | Level 12

there are SAS papers that tell you how to do this. when I worked at a big CRO though, we did it with VBA.

Ksharp
Super User
Why not use the third-side free software ? Like:

GroupDocs.Total Free Apps for Windows

https://www.producthunt.com/posts/groupdocs-total-free-apps-for-windows
Sajid01
Meteorite | Level 14

Hello @KalaBhairava 
I think you should consider @Kurt_Bremser 's  suggestion.
However if in your corporate environment that is not feasible, then consider importing the RTF's back into SAS and combining them.
This paper details the process of importing RTF into SAS
https://www.lexjansen.com/pharmasug-cn/2017/CC/PharmaSUG-China-2017-CC07.pdf 

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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.

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
  • 7 replies
  • 1181 views
  • 8 likes
  • 5 in conversation