Chart.PlotBy procedure builder

Chart.PlotBy (Word)

Returns or sets the way columns or rows are used as data series on the chart.

xlColumns - The data series is in a row, xlRows - The data series is in a column.

The value of this property can be one of the following XlRowCol constants:

With ActiveDocument.InlineShapes(1) 
 If .HasChart Then 
 .Chart.PlotBy = xlColumns 
 End If 
End With