title: Excel VBA : Showing value in cell from msgbox
body: <p>I have a <code>MsgBox</code> and the message includes a count of a range. How do I enter the value used in the <code>Msgbox</code>into a cell in the worksheet?</p>
  
  <p>A code sample is below:</p>
  
  <pre><code>MsgBox "Todays count is" &amp; " " &amp; Count(Range("g2:g484"))
  </code></pre>