A Glazer
A Glazer

Reputation: 21

How can I get the Sheet Options (Left to right or right to left) from Excel JS

I have an Excel file that is written in Right to Left instead of the default layout Left to Right. (You can change the sheet options by going into Page Layout -> Sheet Options -> select Sheet Right-To-Left). How can I figure out which direction my page is when creating an add-in? It seems like it should be part of the Excel.PageLayout class, but it isn't.

Upvotes: 0

Views: 262

Answers (1)

Eugene Astafiev
Eugene Astafiev

Reputation: 49445

The Office JavaScript API (OfficeJS) doesn't provide any property or method for that. The Excel.PageLayout class doesn't provide anything for that. You can post or vote for an existing feature request on Tech Community where they are considered when the Office dev team goes through the planning process.

Upvotes: 0

Related Questions