How to change an excel chart axis text orientation in VB.Net?
Hi, I am developing a VB.Net application that will populate data from database to excel and create an excel chart base on the data. I already got excel data and chart, but I need to change one axis text orientation to 45 degree. How can I do that in VB code? Thanks for the help!
Re: How to change an excel chart axis alignmen in VB.Net?
You need to reference the Microsoft.Office.Core namespace, ie.
.ReadingOrder = Microsoft.Office.Core.XlReadingOrder.xlContext