When I move a cell in excel 2010, any function on that same sheet that has a named range as one of it's inputs will get recalculated. This is a big performance impact for me as I have a sheet with a lot of formulaes that have named ranges as inputs. Why is this happening??!! If I replace the named range with a cell name, e.g. A1, the recalculation does NOT occur.
I've read info about how excel recalculates: http://msdn.microsoft.com/en-us/library/bb687891.aspx#Y1595
and I still don't see why this is happeing. And, I've tried adding
Application.Volatile (False)
and this doesn't help. Any suggestions would be greatly appreciated!
Example:
Function etest(etest_var As String)
etest = 1
End Function
In cell A1, I have formula
=etest(etest_var)
Cell A2 is named "etest_vav"
When I move a cell ANY WHERE on the sheet, it seems excel thinks the named range "etest_var" has been modified and therefore recalculates the etest function. If I change cell A1 formula to this
=etest($A$2)
Then moving a cell on the sheet does not cause the recaculation.
I've read info about how excel recalculates: http://msdn.microsoft.com/en-us/library/bb687891.aspx#Y1595
and I still don't see why this is happeing. And, I've tried adding
Application.Volatile (False)
and this doesn't help. Any suggestions would be greatly appreciated!
Example:
Function etest(etest_var As String)
etest = 1
End Function
In cell A1, I have formula
=etest(etest_var)
Cell A2 is named "etest_vav"
When I move a cell ANY WHERE on the sheet, it seems excel thinks the named range "etest_var" has been modified and therefore recalculates the etest function. If I change cell A1 formula to this
=etest($A$2)
Then moving a cell on the sheet does not cause the recaculation.