title: Excel vba activecell.value as integer
body: <p>I want to set the value of the active cell as Yaxis2, but I can't find how to do this.</p>
  
  <pre><code>    Dim yaxis2 as integer
      ActiveCell.Value = Yaxis2
  </code></pre>
  
  <p>This was my attempt, but it didn't work.</p>