title: Bring Userform to Forefront Excel VBA
body: <p>I have a userform pop up in Excel after a certain amount of time of inactivity. The only problem with this is that the userform is not visible until excel is clicked, so by the time the user would see it, another sub runs that will close the sheet once the sheet is clicked. I'm not sure how it is related but I believe the fact that I have 3 screens is interfering a bit.</p>
  <p>Bottom line: <strong>How do I make a userform appear in front of all other active windows</strong></p>
  <p>Some unnecessary background:</p>
  <p>The sheet is in a shared folder at work. The reason for this routine of the inactivity userform popping up and another routine closing excel is because only one person can make and save changes at a time. This routine will boot out the user if they have been inactive for 5 minutes, and currently creates a save-as version with the title autosave and the date/time.</p>