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

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 956 views
  • 1 like
  • 3 in conversation