How do i change page layout from "right to left" to "left to right" in excel files via C# code?

rarchinio used Ask the Experts™
I'm creating an excel Worksheet in my code and i'd like it to be open with a left to right cell alignment.
Can i do it in the code?
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
I figure it out :
 xlWorkSheet.DisplayRightToLeft = false;

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial