title: Excel Freezing too many rows
body: <p>I'm trying to freeze the top 4 rows in my Excel worksheet, but it's freezing 20 rows.  I'm using the following VBA code to freeze the rows:</p>
  
  <pre><code>Range("1:4").Select
  With ActiveWindow
      .FreezePanes = True
  End With
  </code></pre>
  
  <p>This is a screenshot, with added notiation show what I want, and what is actually happening.  I scrolled a bit to show the freeze, and you can see that row 20 jumps to 36.  It looks like there's a vertical freeze line between G and H, but it's not important (that could be the right-margin page break).</p>
  
  <p>Any help is appreciated. Thanks.</p>
  
  <p><a href="https://i.stack.imgur.com/RjXk7.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/RjXk7.png" alt="enter image description here"></a></p>