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,
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).
usually 1 program makes 1 table.
@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.
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.
there are SAS papers that tell you how to do this. when I worked at a big CRO though, we did it with VBA.
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
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!
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.