Set XLS = WScript.CreateObject("Excel.Application")
XLS.Cells(1,1).Value = 30
XLS.Cells(1,2).Value = 50
XLS.Cells(1,3).Value = 10
XLS.Cells(1,4).Value = 20
XLS.Cells(1,5).Value = 40
XLS.Range("A1:E1").Select
Set XLSChart = XLS.Charts.Add
With XLSChart
.Type = -4102
.HasTitle = True
.ChartTitle.Text = "Windows Software Online"
End With
For Rotate = 0 To 360 Step 5
XLSChart.Rotation = Rotate
Next