BookmarkSubscribeRSS Feed
Meg4
Calcite | Level 5

Hello, 

is there any solution to wraptext in ODS Excel but only in headers or first row?

When I put in options WRAPTEXT='yes' then whole table is wrapped.

 

options
(
sheet_name="XYZ"
AutoFilter = 'All'
Frozen_Headers ='1'
Orientation='Landscape'
WRAPTEXT ='yes'
AUTOFIT_HEIGHT = 'yes'
embedded_titles = 'No'
ABSOLUTE_COLUMN_WIDTH= '8, 9, 9, 7, 9, 11'
);

(...)

 

Thanks in advance 🙂

 

 

3 REPLIES 3
PeterClemmensen
Tourmaline | Level 20

Use the Flow= Option to specify the designated worksheet area that enables Wrap Text. So in your case, specify FLOW = 'HEADERS'. See the ODS Excel Documentation for more information. 

Meg4
Calcite | Level 5

I've tried with this, but same results. Even with different combinations in options (like only 3 options left) always wrapping whole table.

I'm using SAS EG 8.3

 

options
(
sheet_name="XYZ"
AutoFilter = 'All'
Frozen_Headers ='1'
Orientation='Landscape'

FLOW = 'HEADERS'
WRAPTEXT ='yes'
AUTOFIT_HEIGHT = 'yes'
embedded_titles = 'no'
ABSOLUTE_COLUMN_WIDTH= '8, 9, 9, 7, 9, 11, 7, 11'
FitToPage ='yes'
);

Ksharp
Super User

Ksharp_0-1668690234058.png

 

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 939 views
  • 1 like
  • 3 in conversation