Looking for an event

  • Thread starter Thread starter Jan Kronsell
  • Start date Start date
J

Jan Kronsell

Hi NG!

Is there any event that is trigged, when I leave Excel, to go to another
application?

Case: I have Excel open and also fx Word. I like to do something like:

Application.CutCopyMode = False

whenever I leave Excel for another application either by Alt+TYab, clicling
or by starting a new application.

I tried

Private Sub Workbook_WindowDeactivate(ByVal Wn As Window)
Application.CutCopyMode = False
End Sub

but thst doesn't do the trixk as I am not leaving the workbook window, but
the application window.

Jan
 
Don't think so, there is no event even with application events.
 
What exactly do you want to do. There may be other
solutions. I can convert a selection of cells to HTML
code and invoke a web browser, and could if I wanted
to exit out of Excel.
 

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