BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
romanvi
Fluorite | Level 6
Is there a way to control the direction of the table opened in the sheet using ods excel? The default is from left to right and i want to change it to right to left.
1 ACCEPTED SOLUTION

Accepted Solutions
EyalGonen
Lapis Lazuli | Level 10

Hi @JosvanderVelden 

 

Try out this code:

 

options bidi=yes;

ods excel file="d:\temp\test.xlsx" ;

proc print data=sashelp.class;
run;

ods excel close;

View solution in original post

9 REPLIES 9
romanvi
Fluorite | Level 6
Thanks but it's impossible to download the version attached.
SASKiwi
PROC Star

If you are opening the Excel workbook with Excel, have you tried this display option?

SASKiwi_0-1685481080789.png

 

JosvanderVelden
SAS Super FREQ
Microsoft info on RTL support can be found here: https://support.microsoft.com/en-us/office/using-right-to-left-languages-in-office-17d8a34d-36d6-49a...
Maybe @EyalGonen can help in providing the current link to download the XPtagset that has the "RTL" option.
EyalGonen
Lapis Lazuli | Level 10

Hi @JosvanderVelden 

 

Try out this code:

 

options bidi=yes;

ods excel file="d:\temp\test.xlsx" ;

proc print data=sashelp.class;
run;

ods excel close;
romanvi
Fluorite | Level 6
Yes.
SASKiwi
PROC Star

And does it do what you want?

romanvi
Fluorite | Level 6
No 🙂
romanvi
Fluorite | Level 6
Eyal's solution worked!
Options bidi=yes.
Thank's alot.

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
  • 9 replies
  • 1051 views
  • 4 likes
  • 4 in conversation