title: Calling a Private Sub from another module
body: <p>I have two modules, Module1 and Module2.</p>
  
  <p>In Module1:</p>
  
  <pre><code>Private Function myCheck() As Boolean
  
  if [Operation] = [Something] then
  
  myCheck = True
  Else
  myCheck = False
  End if
  
  End Sub
  </code></pre>
  
  <p>In Module2, I would like to run myCheck sub in Module 1 then do another operation:</p>
  
  <pre><code>Private Sub Execute()
  
  [Operation 1]
  
  If myCheck = True Then
  
  [Operation 2]
  Else
  [Operation 3]
  
  End If
  End Sub
  </code></pre>
  
  <p>It does not work. If I place Private Function myCheck within the same module then it works. Is there a special method to call a sub or function from another module?</p>