Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Is there anyway to find out which cell is being calculated?
I have a few user defined formulas that are in a spreadsheet. When I open
Excel with automatic calculation turned on, it goes through each cell and executes my formulas as expected. What I need to know is which cell is being calculated? If I have 5 cells with one of my formulas, I would expect my formula to be called 5 times (which it is), but I want to know which cell is being calculated each time. Application.ActiveCell only tells you the cell where the cursor is. It does not change as Excel iterates through each cell to calculate them. |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Is there anyway to find out which cell is being calculated?
I believe you could put something like
Debug.print Application.Caller.Address in your UDF and then look at the immediate window. -- HTH, Barb Reinhardt If this post was helpful to you, please click YES below. "J. Caplan" wrote: I have a few user defined formulas that are in a spreadsheet. When I open Excel with automatic calculation turned on, it goes through each cell and executes my formulas as expected. What I need to know is which cell is being calculated? If I have 5 cells with one of my formulas, I would expect my formula to be called 5 times (which it is), but I want to know which cell is being calculated each time. Application.ActiveCell only tells you the cell where the cursor is. It does not change as Excel iterates through each cell to calculate them. |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Is there anyway to find out which cell is being calculated?
That's it!! I knew it would be something simple, but I didn't even notice
the Caller property. Thanks!! "Barb Reinhardt" wrote: I believe you could put something like Debug.print Application.Caller.Address in your UDF and then look at the immediate window. -- HTH, Barb Reinhardt If this post was helpful to you, please click YES below. "J. Caplan" wrote: I have a few user defined formulas that are in a spreadsheet. When I open Excel with automatic calculation turned on, it goes through each cell and executes my formulas as expected. What I need to know is which cell is being calculated? If I have 5 cells with one of my formulas, I would expect my formula to be called 5 times (which it is), but I want to know which cell is being calculated each time. Application.ActiveCell only tells you the cell where the cursor is. It does not change as Excel iterates through each cell to calculate them. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Pivot table, IF function, calculated item versus calculated field | Excel Discussion (Misc queries) | |||
MIN will not find lowest of calculated values How? | Excel Worksheet Functions | |||
Pivot Table Formulas Calculated Item / Calculated Field | Excel Programming | |||
FIND THE CALCULATED VALUE OF A CELL AND DELETE IT FROM ANOTHER | Excel Discussion (Misc queries) | |||
how to change a calculated cell to = the calculated value | Excel Discussion (Misc queries) |