You can use code from Re: Need To Close An Application Message #691511.
>Could someone please tell me how I can get a handle to Word and then activate it. I've been trying to use FindWindow but that requires the exact window name. > >Thanks in anticipation.