C
Chris
I am Developing an Excel Dictator App with Multiple Add-Ins and the
possibility of other un-related workbooks in the same Excel session.
I need to find out and use - in the Workbook_WindowActivate "event" sub
of the Dictator Workbook - the name of the Workbook within the same
Excel session that the user has just moved from.
Strangely enough - when I move between the Dictator workbook and an
empty workbook (Book2) - I can see the very info that I need popping up
in the immediate window!
See below the output from the Immediate Window.
WindowDeactivate: Workbook=Dictator.xls, Window=Dictator.xls,
Time=26/07/2006 15:20:15
WorkbookDeactivate: Workbook=Dictator.xls, Time=26/07/2006 15:20:15
WindowDeactivate: Workbook=Book2, Window=Book2, Time=26/07/2006
15:20:18
WorkbookDeactivate: Workbook=Book2, Time=26/07/2006 15:20:18
Can anyone shed any light on this - thanks in advance
Chris
possibility of other un-related workbooks in the same Excel session.
I need to find out and use - in the Workbook_WindowActivate "event" sub
of the Dictator Workbook - the name of the Workbook within the same
Excel session that the user has just moved from.
Strangely enough - when I move between the Dictator workbook and an
empty workbook (Book2) - I can see the very info that I need popping up
in the immediate window!
See below the output from the Immediate Window.
WindowDeactivate: Workbook=Dictator.xls, Window=Dictator.xls,
Time=26/07/2006 15:20:15
WorkbookDeactivate: Workbook=Dictator.xls, Time=26/07/2006 15:20:15
WindowDeactivate: Workbook=Book2, Window=Book2, Time=26/07/2006
15:20:18
WorkbookDeactivate: Workbook=Book2, Time=26/07/2006 15:20:18
Can anyone shed any light on this - thanks in advance
Chris