You will need to query the SummaryCell in the Application.Idle event, because the StatFunction is run at the latest possible moment.
I’m not sure why you use a ValueRow to display the SummaryCell result, you could simply display the SummaryRow and let it display the result.
One other solution would be to make your calculation yourself, not using the SummaryRow, so you could have your result earlier in the event chain than the Application.Idle event.
Imported from legacy forums. Posted by André (had 286 views)