Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi Group, My problem is I have a custom menubar which is written everytime
the workbook is open with the Workbook open event and deleted when the workbook is closed with the workbook BeforeClose event. The problem is that when I have more than one instance of the workbook open and then I close one, the custom menu bar disappears and the default Excel one reappears, as per the workbook close event. I am trying to find out if any event is triggered on the workbook that remains open, so that I can call the menubar routine to redraw the custom menubar. I have tried most, if not all without success, please help. Many thanks Graham |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Use this two events in the Thisworkbook module.
Private Sub Workbook_Activate() End Sub Private Sub Workbook_Deactivate() End Sub Read more about events on Chip Pearson's site. http://www.cpearson.com/excel/events.htm -- Regards Ron de Bruin http://www.rondebruin.nl "Graham F" wrote in message ... Hi Group, My problem is I have a custom menubar which is written everytime the workbook is open with the Workbook open event and deleted when the workbook is closed with the workbook BeforeClose event. The problem is that when I have more than one instance of the workbook open and then I close one, the custom menu bar disappears and the default Excel one reappears, as per the workbook close event. I am trying to find out if any event is triggered on the workbook that remains open, so that I can call the menubar routine to redraw the custom menubar. I have tried most, if not all without success, please help. Many thanks Graham |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Disable SelectionChange Event | Excel Discussion (Misc queries) | |||
Unable to Start Excel Event ID 2001 | Excel Discussion (Misc queries) | |||
Using excel to manage event - ANY input deeply appreciated! :-) | Excel Discussion (Misc queries) | |||
Dynamic charting problems (events) | Charts and Charting in Excel | |||
Worksheet Row Change event | Excel Discussion (Misc queries) |