title: MsgBox made with wscript.shell won't close automatically in this case
body: <p>I am writing an .mdb file in ms-access, and with a form inside.</p>
  
  <p>I've made a Subroutine to show a msgbox which will close automatically after some secs.</p>
  
  <pre><code>Sub TimedMsgBox(Message As String)
  
  CreateObject("wscript.shell").PopUp _
          Message &amp; vbCrLf &amp; vbCrLf &amp; _
          "This message self-closes in 2 seconds...", 2, "Message"
  
  End Sub
  </code></pre>
  
  <p>When the msgbox popup, I wait and it close automatically, however, if I change my focus to other application such as firefox, the message will just wait for my attention and didn't close after the selected seconds.(i.e: it is not counting the seconds.) When I change my focus back to it, then it will count the seconds then exit.</p>
  
  <p>How can I made it automatically disappear after some seconds no matter what I am doing?</p>