Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
What first - sheet_change, calculate,selection, etc.
Thanks JE that was a good link and I'll download Chip's example event code.
Another quick question is I have worksheet_calculate code in Sheet2. When I change a cell in Sheet3 why does Sheet2 "calculate' code execute. I thought each sheet was it's own code. sheet 3 would not affect Sheet2. The Sheet2 SUB is coded Private. TIA "JE McGimpsey" wrote: See the "Order of Event Procedures" section of http://cpearson.com/excel/events.htm In article , "Tom Rudski" <Tom wrote: Whose on First!!! In Sheets VBA windows you can select all of the different code options (i.e. change, calculate, selection, etc.) What code section (SUB)is executed first? Why does it go in circles. At the end one SUB the execution jumps into the middle of another SUB? Any ideas haven't seen anything written on this before. TIA |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
What first - sheet_change, calculate,selection, etc.
It shouldn't unless Sheet2 and Sheet3 are linked so that a change in
Sheet3 causes a calculation event in sheet2 (e.g., a cell in Sheet2 has =Sheet3!A1 as its formula). In article , "Tom Rudski" wrote: Another quick question is I have worksheet_calculate code in Sheet2. When I change a cell in Sheet3 why does Sheet2 "calculate' code execute. I thought each sheet was it's own code. sheet 3 would not affect Sheet2. The Sheet2 SUB is coded Private. |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
What first - sheet_change, calculate,selection, etc.
"Tom Rudski" wrote in message ...
Thanks JE that was a good link and I'll download Chip's example event code. Another quick question is I have worksheet_calculate code in Sheet2. When I change a cell in Sheet3 why does Sheet2 "calculate' code execute. I thought each sheet was it's own code. sheet 3 would not affect Sheet2. The Sheet2 SUB is coded Private. TIA "JE McGimpsey" wrote: See the "Order of Event Procedures" section of http://cpearson.com/excel/events.htm In article , "Tom Rudski" <Tom wrote: Whose on First!!! In Sheets VBA windows you can select all of the different code options (i.e. change, calculate, selection, etc.) What code section (SUB)is executed first? Why does it go in circles. At the end one SUB the execution jumps into the middle of another SUB? Any ideas haven't seen anything written on this before. TIA Is your application set to calculate automatically? If so sat to manual and only that sheet will calculate when the event is fired. -Pete |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Limiting selection in a cell AND linking that selection to a list | Excel Discussion (Misc queries) | |||
Combo box selection will not calculate | Excel Worksheet Functions | |||
Combo box selection will not calculate | Excel Discussion (Misc queries) | |||
Copy Selection - Transpose Selection - Delete Selection | Excel Discussion (Misc queries) | |||
Calculate average based on user selection | Excel Discussion (Misc queries) |