Jul 14, 2003 #1 vbpadawan Programmer Joined Oct 8, 2002 Messages 28 Location US I know that I have run across this question before but can't seem to find it now that I need it. I need to check to see if and excel file is open and if it is, I need to close it. Can someone help me out. Thanks.
I know that I have run across this question before but can't seem to find it now that I need it. I need to check to see if and excel file is open and if it is, I need to close it. Can someone help me out. Thanks.
Jul 22, 2003 #2 k2w Programmer Joined Dec 17, 2002 Messages 34 Location CA You could use the FindWindow (to see if it's open) and PostMessage (to close it) API functions. Hope this helps. k2w Upvote 0 Downvote
You could use the FindWindow (to see if it's open) and PostMessage (to close it) API functions. Hope this helps. k2w