Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Looking for a VBA script 1

Status
Not open for further replies.

gamesman

Programmer
Oct 8, 2001
223
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?
 
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 :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top