Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Don't think so, there is no event even with application events.
-- HTH Bob Phillips "Jan Kronsell" wrote in message ... 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 |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thats what I thought. To bad.
Thanks anyway. Jan "Bob Phillips" skrev i en meddelelse ... Don't think so, there is no event even with application events. -- HTH Bob Phillips "Jan Kronsell" wrote in message ... 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 |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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. --- HTH, David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001] My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm Search Page: http://www.mvps.org/dmcritchie/excel/search.htm "Jan Kronsell" wrote in message ... Thats what I thought. To bad. Thanks anyway. Jan "Bob Phillips" skrev i en meddelelse ... Don't think so, there is no event even with application events. -- HTH Bob Phillips "Jan Kronsell" wrote in message ... 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 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to trap delete row event and hide column event? | Excel Programming | |||
Change event and calculate event | Excel Programming | |||
user form-on open event? keydown event? | Excel Programming | |||
Event Procedures: Event on Worksheet to fire Event on another Worksheet | Excel Programming | |||
OnTime event not firing in Workbook_Open event procedure | Excel Programming |