What is stealing focus?

For the last couple of days, the focussed window on my dev box would occasionally lose focus. It was really annoying. It would always switch back, but I’d lose a couple letters here or there as I was typing. I eventually found the following code that helped me track down the culprit: Declare Auto Function …