title: How can I turn off gridlines in excel using VBA, without using ActiveWindow
body: <p>I have a VBA macro over Excel 2013 which generate a separate excel report. In this excel report that is created, I would like to turn off the GridLines.</p>
  
  <p>The only piece of code that I come across to make this happens is as below</p>
  
  <pre><code>ActiveWindow.DisplayGridlines = False
  </code></pre>
  
  <p>However, this excel is generated in the background i.e., </p>
  
  <pre><code>Dim appObject As New Excel.Application
  appObject.Visible = False
  </code></pre>
  
  <p>Which means that this report is not the ActiveWindow. Is there an alternate way of turning off the gridlines without using the ActiveWindow object?</p>