title: Can a worksheet object be declared globally in Excel VBA?
body: <p>I'm refactoring a number of modules in an Excel 2003 workbook and the same set of worksheets are declared in each procedure in each module; I'd like to just declare them once globally.  I can set the worksheet name as a literal, e.g.:</p>
  
  <pre><code>Public Const xlwkGSModel = "gs_model" As String
  </code></pre>
  
  <p>And then in the procedure use:</p>
  
  <pre><code>...ActiveWorkbook.Worksheets(xlwkGSModel).Cells(1,1)
  </code></pre>
  
  <p>But is there a way to declare the worksheet object so that the code in the procedure could be:</p>
  
  <pre><code>...xlwkGSModel.Cells(1,1)
  </code></pre>