title: How to instantiate a Graph Chart?
body: <p>I am currently trying to create a chart, e.g. a piechart through word vba.</p>
  
  <p>The problem is that the machine(s) where this word vba will be run do not have excel available, only word and ms graph.</p>
  
  <p>I have tried to create a chart with ms graph, but I am not able to make it work.</p>
  
  <p>As from the code below, I can create charts with inlineshapes and chart and I get a nice bar chart presented in the word window.</p>
  
  <p>I am not able to instantiate the chart element for Ms Graph. I found a french guide that shows how it should be done, but I am not able to get the "me.graphique1"-part to make sense.</p>
  
  <h1>Inlineshapes</h1>
  
  <pre><code>Dim vlChart As Chart
  
  Set vlChart = ActiveDocument.InlineShapes.AddChart2.Chart
  </code></pre>
  
  <h1>Graph</h1>
  
  <pre><code>Dim vlChart As Graph.Chart
  
  Set vlChart = Me.Graphique1.Object.Application.Chart
  </code></pre>
  
  <p>I would expect to be able to create a graph object, but I don't know what I am doing.</p>