title: How to freeze pane in XLWings
body: <p>I like to check how to freeze panes in XLWings. </p>
  
  <p>Hope anyone familiar with XLWings can assist. </p>
  
  <p>I have tried the below but given an error: 
  pywintypes.com_error: (-2147352567, 'Exception occurred.', (0, None, None, None, 0, -2147352565), None)</p>
  
  <pre><code>app1 = xw.apps
  wb = app1.active.books.active
  wb.api.Windows(6).FreezePanes = True 
  </code></pre>
  
  <p>And I am not able to find other code online. </p>