title: Timeout Msgbox popup
body: <p>I have a small script that runs (basically fires a msgbox to tell people that their account passwords are about to expire).</p>
  
  <p>I want it to close itself after say 30 minutes, but cannot get the syntax right to do it, can anyone help?</p>
  
  <p>Below is the section that calls the msgbox</p>
  
  <pre><code>if (daysLeft &lt; warningDays) and (daysLeft &gt; -1) then
  
  Msgbox "Your Password Expires in " &amp; daysLeft &amp; " day(s)" &amp; " at " &amp; whenPasswordExpires &amp; chr(13) &amp; chr(13) &amp; "Please ensure that you change your password before" &amp; chr(13) &amp; "its expiry time to prevent any disruption of service.", 4144, "PASSWORD EXPIRATION WARNING!"
  
  End if
  </code></pre>
  
  <p>-- </p>
  
  <p>Gavin.</p>