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 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
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
  • 9 replies
  • 1637 views
  • 4 likes
  • 4 in conversation