title: VBA Chart setsourcedata
body: <p>I have to write a VBA script to define Data Source for a chart, but I am not a VBA programmer. In my workbook, I have many sheets and many sheets have many charts.
  In my VBA I have to define data source for every chart. For this, I want to know whether I can write in my module the below statement:</p>
  
  <pre><code>&lt;sheet-name&gt;.&lt;chart-name&gt;.SetSourceData Source ='CPU_UTIL'!$A$1:$A$31,'CPU_UTIL'!$N$1:$O$31
  </code></pre>
  
  <p>Whether this syntax is correct and can I use it directly?</p>