title: Excel 2010 UserForm - form does not scroll with Mouse Wheel
body: <p>I have a UserForm I've created in Excel 2010 using VBA.  Controls are added to the form programmatically based on data from a particular sheet.  My code adds all the controls and then determines if the form is excessively long.  If it is, then the form gets set to a maximum height of 500px and scrolling is enabled.</p>
  
  <p>The scrollbars appear and work as expected when clicking on the scrollbars, but the mouse scrollwheel has no effect on the scrollbars on the form.</p>
  
  <p>I haven't seen any properties for enabling mouse wheel scrolling.  Every article I've found on Google points to scrolling controls within a UserForm (ListBox, ComboBox, etc.) and not the UserForm itself.  Other articles I've found are dated back to Excel 2003 which did not support mouse wheel scrolling out of the box.</p>
  
  <p>Does anyone have any idea what's going on here?</p>
  
  <p>Here is the code where I enable scrolling:</p>
  
  <pre><code>If Me.height &gt; 500 Then
      Me.ScrollHeight = Me.height
      Me.ScrollBars = fmScrollBarsVertical
      Me.KeepScrollBarsVisible = fmScrollBarsVertical
      Me.height = 500
      Me.Width = Me.Width + 12
  End If
  </code></pre>
  
  <p>I am using Excel 2010 (32bit) on a Windows 7 64bit laptop.  The same issue has appeared on other computers as well also running the same setup.  I don't have access to another configuration to test this.</p>