Oct 17, 2001 #1 gamesman Programmer Joined Oct 8, 2001 Messages 223 Location US I'm looking for Access to close an excel ss when Access is closed. Any one have a suggestion as to what code I can put into the .onexit sub?
I'm looking for Access to close an excel ss when Access is closed. Any one have a suggestion as to what code I can put into the .onexit sub?
Oct 17, 2001 1 #2 Mossoft Programmer Joined Sep 12, 2001 Messages 127 Location EU Look on KB at article Q176391 or Q168204 which basically use FindWindow to find the app then either SendMessage or PostMessage to close it. M Upvote 0 Downvote
Look on KB at article Q176391 or Q168204 which basically use FindWindow to find the app then either SendMessage or PostMessage to close it. M
Oct 17, 2001 Thread starter #3 gamesman Programmer Joined Oct 8, 2001 Messages 223 Location US Thanks, very helpful. Upvote 0 Downvote