Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

Change the type of the X Axis in Excel 2010 with Powershell

$
0
0

Hi,

I am working on a project of daily reporting and the simplest way is to use powershell to export the datas and put it in an excel worksheet. In another worksheet, I use the datas to create a graph, everything is working fine except that even if the datas only use workdays, the graphs include weekend days, with blank bars.

After some searchs, I have found that in Excel, you have to change the horizontal (X) axis type to "Text Axis" in order to get rid of the weekends.

But, as I want to automate the process with powershell, I need to know how to change the type of the X axis with a command line.

Do you know how to tell Excel to use a Text X Axis type with a powershell command line ?

Thanks in advance for your help,

Best regards,

Thibaut


Viewing all articles
Browse latest Browse all 21975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>