title: VBA Functions and variables
body: <p>I have a question about variables and functions in VBA.  I'm not going to include exactly what the project is in hopes that the initial question won't get to obscure.  I can explain the project this will be used for if requested.</p>
  
  <p>Is it possible to create universal variables in VBA so that all functions can use them?</p>
  
  <p>Ex:</p>
  
  <pre><code>Dim testVariable As String
  Dim newVariable As String
  
  testVariable = "A"
  
  Function testFunction() As String
      ....
      newVariable = testVariable
  End Function
  </code></pre>
  
  <p>As of now, testVariable (when it is in the function) is "Empty"</p>
  
  <p>Thank you,</p>
  
  <p>Jesse Smothermon</p>