_SCREEN.WINDOWSTATE=1in my outlook automation i am using the following code.
IF tlOpenEmail .display() olNormalWindow = 0 loInspector = .GetInspector() loInspector.WindowState = olNormalWindow endifwhat is the line of code i would add to bring the email to the front window?