Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Worksheet Activate event not firing
I have a large spreadsheet with several worksheets. On two of the larger
worksheets, the Activate event is NOT being triggered when I select that sheet while viewing another sheet. 1. I have verified that Application.EnableEvents is TRUE 2. I have deleted and re-created the event procedure by selecting the pulldown 3. The Change and SelectionChange events ARE being triggered in that worksheet 4. The Activate event IS being triggered in the other sheets 5. I even tried creating a new sheet and pasting the data and event procedures into it, but it does not trigger either. Any suggestions on what may be causing this behavior? InTHANKSAdvance, ....jz |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Worksheet Activate event not firing
Does the Worksheet_Activate code work on another worksheet? I'd put a
breakpoint early in the activate code to see if it gets there. It may be erroring out for some reason. -- HTH, Barb Reinhardt If this post was helpful to you, please click YES below. "Jim Zeeb" wrote: I have a large spreadsheet with several worksheets. On two of the larger worksheets, the Activate event is NOT being triggered when I select that sheet while viewing another sheet. 1. I have verified that Application.EnableEvents is TRUE 2. I have deleted and re-created the event procedure by selecting the pulldown 3. The Change and SelectionChange events ARE being triggered in that worksheet 4. The Activate event IS being triggered in the other sheets 5. I even tried creating a new sheet and pasting the data and event procedures into it, but it does not trigger either. Any suggestions on what may be causing this behavior? InTHANKSAdvance, ...jz |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Worksheet Activate event not firing
Barb,
Yes, Worksheet_Activate IS getting triggered in all the other sheets (except 2). I put a breakpoint on the first executable statement in each procedure. That is how I can tell what is being triggered and what is not. ....jim "Barb Reinhardt" wrote: Does the Worksheet_Activate code work on another worksheet? I'd put a breakpoint early in the activate code to see if it gets there. It may be erroring out for some reason. -- HTH, Barb Reinhardt If this post was helpful to you, please click YES below. "Jim Zeeb" wrote: I have a large spreadsheet with several worksheets. On two of the larger worksheets, the Activate event is NOT being triggered when I select that sheet while viewing another sheet. 1. I have verified that Application.EnableEvents is TRUE 2. I have deleted and re-created the event procedure by selecting the pulldown 3. The Change and SelectionChange events ARE being triggered in that worksheet 4. The Activate event IS being triggered in the other sheets 5. I even tried creating a new sheet and pasting the data and event procedures into it, but it does not trigger either. Any suggestions on what may be causing this behavior? InTHANKSAdvance, ...jz |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
Worksheet Activate event not firing
I wonder if you create a new worksheet and copy the WOrksheet_Activate there
that's not working, does it fire there? Barb Reinhardt "Jim Zeeb" wrote: Barb, Yes, Worksheet_Activate IS getting triggered in all the other sheets (except 2). I put a breakpoint on the first executable statement in each procedure. That is how I can tell what is being triggered and what is not. ...jim "Barb Reinhardt" wrote: Does the Worksheet_Activate code work on another worksheet? I'd put a breakpoint early in the activate code to see if it gets there. It may be erroring out for some reason. -- HTH, Barb Reinhardt If this post was helpful to you, please click YES below. "Jim Zeeb" wrote: I have a large spreadsheet with several worksheets. On two of the larger worksheets, the Activate event is NOT being triggered when I select that sheet while viewing another sheet. 1. I have verified that Application.EnableEvents is TRUE 2. I have deleted and re-created the event procedure by selecting the pulldown 3. The Change and SelectionChange events ARE being triggered in that worksheet 4. The Activate event IS being triggered in the other sheets 5. I even tried creating a new sheet and pasting the data and event procedures into it, but it does not trigger either. Any suggestions on what may be causing this behavior? InTHANKSAdvance, ...jz |
#5
Posted to microsoft.public.excel.programming
|
|||
|
|||
Worksheet Activate event not firing
Barb,
Your first question was covered by item 4 in my original post. Your second question was covered by item 5 in my original post. Thanks, ....jim "Barb Reinhardt" wrote: I wonder if you create a new worksheet and copy the WOrksheet_Activate there that's not working, does it fire there? Barb Reinhardt "Jim Zeeb" wrote: Barb, Yes, Worksheet_Activate IS getting triggered in all the other sheets (except 2). I put a breakpoint on the first executable statement in each procedure. That is how I can tell what is being triggered and what is not. ...jim "Barb Reinhardt" wrote: Does the Worksheet_Activate code work on another worksheet? I'd put a breakpoint early in the activate code to see if it gets there. It may be erroring out for some reason. -- HTH, Barb Reinhardt If this post was helpful to you, please click YES below. "Jim Zeeb" wrote: I have a large spreadsheet with several worksheets. On two of the larger worksheets, the Activate event is NOT being triggered when I select that sheet while viewing another sheet. 1. I have verified that Application.EnableEvents is TRUE 2. I have deleted and re-created the event procedure by selecting the pulldown 3. The Change and SelectionChange events ARE being triggered in that worksheet 4. The Activate event IS being triggered in the other sheets 5. I even tried creating a new sheet and pasting the data and event procedures into it, but it does not trigger either. Any suggestions on what may be causing this behavior? InTHANKSAdvance, ...jz |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Click event on menu item is lost after first time firing of the event | Excel Programming | |||
Worksheet Activate Event | Excel Programming | |||
Worksheet change event not firing | Excel Programming | |||
Change Cell from Validated List Not Firing Worksheet Change Event | Excel Programming | |||
OnTime event not firing in Workbook_Open event procedure | Excel Programming |