title: What does "o.Visible = False" actually do in the post?
body: <p>I am reading a link regarding excel to PDF:
  <a href="https://stackoverflow.com/a/31813137/12252446">https://stackoverflow.com/a/31813137/12252446</a></p>
  <p>The answer snippet:</p>
  <pre><code>import win32com.client
  
  o = win32com.client.Dispatch(&quot;Excel.Application&quot;)
  
  o.Visible = False
  
  wb_path = r'c:\user\desktop\sample.xls'
  
  wb = o.Workbooks.Open(wb_path)
  
  
  
  ws_index_list = [1,4,5] #say you want to print these sheets
  
  path_to_pdf = r'C:\user\desktop\sample.pdf'
  
  
  
  wb.WorkSheets(ws_index_list).Select()
  
  wb.ActiveSheet.ExportAsFixedFormat(0, path_to_pdf)
  </code></pre>
  <p>I want to know what does &quot;o.Visible = False&quot; do here?</p>
  <p>Thank you.</p>