Excel Opened By Program and Closed By User

  • Thread starter Thread starter Court
  • Start date Start date
C

Court

How can I catch the close event in an excel workbook in VB.NET?

Users can open and interact with a spreadsheet, but how can I tell when
they close Excel. I need to disable a couple of buttons once Excel has
been closed.

Thanks!
 
The following KB article deals with Excel event handling in VB.NET.

http://support.microsoft.com/default.aspx?scid=kb;en-us;302814

--
David Lloyd
MCSD .NET
http://LemingtonConsulting.com

This response is supplied "as is" without any representations or warranties.


How can I catch the close event in an excel workbook in VB.NET?

Users can open and interact with a spreadsheet, but how can I tell when
they close Excel. I need to disable a couple of buttons once Excel has
been closed.

Thanks!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top