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
Opal | Level 21

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
Opal | Level 21

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

Innovate_SAS_Blue.png

Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

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.

Get the $99 certification deal.jpg

 

 

Back in the Classroom!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 9 replies
  • 481 views
  • 4 likes
  • 4 in conversation