title: error xlPrimary not defined in Python win32com
body: <p>I keep getting errors where <code>xlCategory</code>, <code>xlValue</code> and <code>xlPrimary</code> are not recognised in my python script. </p>
  
  <p>I am trying to label the axes of my graph and was successfully doing so yesterday with this code:</p>
  
  <pre><code>chart = excel.Charts.Add()
  chart.Name = "Chart Title"
  chart.ChartType = -4169 #xlXYScatter
  chart.SetSourceData(firstSheet.Range("$A:$B"))
  series = chart.SeriesCollection(1)
  series.Name = "Series Name"
  chart.Axes(win32com.client.constants.xlCategory).HasTitle = True
  chart.Axes(win32com.client.constants.xlCategory).AxisTitle.Caption = "x Axis"
  chart.Axes(win32com.client.constants.xlValue).HasTitle = True
  chart.Axes(win32com.client.constants.xlValue).AxisTitle.Caption = "y Axis"
  </code></pre>
  
  <p>This produced the following error:</p>
  
  <pre><code>Traceback (most recent call last):
    File "&lt;pyshell#5&gt;", line 1, in &lt;module&gt;
      startGraphBuild()
    File "C:\Python33\InCAS_Study_Analysis\VMDvsMODVMDG.py", line 33, in startGraphBuild
      chart.Axes(win32com.client.constants.xlCategory).HasTitle = True
    File "C:\Python33\lib\site-packages\win32com\client\__init__.py", line 170, in 
   __getattr__ 
      raise AttributeError(a)
  AttributeError: xlCategory
  </code></pre>
  
  <p>So I tried this from this stackoverflow question <a href="https://stackoverflow.com/questions/17166351/changing-axis-labels-in-excel-2007-charts-using-python-win32com">changing axis labels in excel 2007 charts using python win32com</a>:</p>
  
  <pre><code>pAxis = chart.Axes(AxisGroup = xlPrimary)
  xAxis = pAxis(1)
  yAxis = pAxis(2)
  
  xAxis.HasTitle = True
  yAxis.HasTitle = True
  xAxis.AxisTitle.Caption = "VMD"
  yAxis.AxisTitle.Caption = "MOD VMD"
  </code></pre>
  
  <p>But this produced the following error:</p>
  
  <pre><code>Traceback (most recent call last):
    File "&lt;pyshell#3&gt;", line 1, in &lt;module&gt;
      startGraphBuild()
     File "C:\Python33\InCAS_Study_Analysis\VMDvsMODVMDG.py", line 37, in startGraphBuild
      pAxis = chart.Axes(AxisGroup = xlPrimary)
   NameError: global name 'xlPrimary' is not defined
  </code></pre>
  
  <p>Has anyone else experienced this? Since it was working yesterday I have tried restarting everything, uninstalling and reinstalling pyWin but these haven't worked. </p>
  
  <p>I am using Python 3.3 and Excel 2010.</p>