title: Reference excel worksheet by name?
body: <p>I have the name of a worksheet stored as a string in a variable. How do I perform some operation on this worksheet?</p>
  
  <p>I though I would do something like this:</p>
  
  <pre><code>nameOfWorkSheet = "test"
  ActiveWorkbook.Worksheets(nameOfWorkSheet).someOperation()
  </code></pre>
  
  <p>How do I get this done?</p>