title: Unhide Excel Rows Based on Cell Value
body: <p>I am trying to write a VBA script on Excel 2011 For Mac and having limited success.</p>
  
  <p>Depending on the value in cell A1, the script needs to unhide the rows below.</p>
  
  <pre><code>If A1 = 1, it needs to unhide row B.
  If A1 = 2, it needs to unhide rows B and C.
  If A1 = 3, it needs to unhide rows B, C and D.
  </code></pre>
  
  <p>...and so on, up to a maximum A1 value of 8.</p>
  
  <p>The values in A1 use data validation to be looked up from a list elsewhere on the sheet.</p>
  
  <p>Thank you!</p>