I need to have an event occur whenever someone multitasks to another program window. I thought that a move off of the program window would throw this:

Private Sub Form_LostFocus()
MsgBox "selected another window", vbOKOnly
End Sub


But apparently not... Any ideas?