BookmarkSubscribeRSS Feed
NR13
Fluorite | Level 6

Hi! I'm wondering if there is a way to code Header1 on all the odd pages and Header2 on all the even pages, using ODS RTF?

3 REPLIES 3
Cynthia_sas
SAS Super FREQ
Hi:
I am not aware that this is possible with ODS RTF. You might have to wait for ODS WORD, which can make a .docx file to be able to do this. That would be a question for Tech Support.
Cynthia
NR13
Fluorite | Level 6

Thanks, Cynthia!

 

I know you can insert a page number into a footer. Is it possible to call that page number? I'm thinking maybe I could work around it, with an 'If page# in (1,3,5) then do;' 

Cynthia_sas
SAS Super FREQ
Hi:
That sounds like something you'd do in Visual Basic or Visual C++ -- it's not something you can really do in SAS. The page numbers are NOT "callable". Imagine what happens if someone opens the RTF file and readjusts the margins at the top and bottom to be 2 inches -- the page breaks and page numbers will be different.

Cynthia

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
  • 3 replies
  • 460 views
  • 0 likes
  • 2 in conversation