BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
woshibug
Fluorite | Level 6

please see this two pictures and one changed rtf file. 1st picture is the one that is not changed with the "\cellx14350" and the margin area exists.2nd picture is changed to "\cellx14400" then the margin area disappeared and aligned rightly.

 

ab94af3cea3d192460e6c8f000cca20.pnga1dd310d03a40a74d9f65f8e3c321d9.png

japelin
Rhodochrosite | Level 12

I was completely wrong. I finally understand the problem you are talking about.

However, in my environment, the header cells are set to full width without any problem.
I tested it with the following simple code.

options nodate nonumber;
ods _all_ close;
ods rtf;
title j=c 'TITLE' j=r 'page 1 or 1';
proc report data=sashelp.class;
run;
ods rtf close;

Can you please test it in your environment with this?
If there is still no extra space, then it is most likely a problem with the program.
For example, per proc report, define statement, style specification, etc.

woshibug
Fluorite | Level 6
My title statement is same as your but also cause my problem.I can find a little solution from the rtf language. Thanks a lot.
ballardw
Super User

You really should include your ODS RTF, or Tagsets.RTF, statment as well, better would be all code and some data that recreates the issue.

The STYLE in effect and other options on the ODS destination can affect a number of items.

 

I will not say just how much time I have spent fighting with WORD and anything placed in header or footer sections of a document.

The body of reports is very likely using a slightly different "area" of the document than the header. You might try the ODS option BODYTITLE.

woshibug
Fluorite | Level 6
3Q

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