title: Why does a boolean function return false even after successfully executing it?
body: <p>I have a boolean function "Test" in Module1, for example:</p>
  
  <pre><code>Function Test() As Boolean
  MsgBox "Testing"
  End Function
  </code></pre>
  
  <p>Now even after successfully executing it, I receive a False. Why is that?</p>
  
  <pre><code>If Module1.Test = True Then
  MsgBox "True"
  ElseIf Module1.Test = False Then
  MsgBox "False"
  End If
  </code></pre>
  
  <p>Thanks in advance</p>