|
Question : VBA Excel: how to force sheet recalculating
|
|
Hi X-perts,
I have a dynamically generated sheet content (via VBA) and need to recalculate certain cells at certain points. What I do is as follows:
1) populate cells via VBA
2) Application.Calculation = xlAutomatic
3) get values of some cells to VBA variables
4) Application.Calculation = xlManual
Tha problem is that switching to Application.Calculation = xlAutomatic doesn't force the cells to recalculate. Sometimes, the cells are not updated.
How can I fix this?
Thank you
|
|
Answer : VBA Excel: how to force sheet recalculating
|
|
Andy, try Application.Calculate Cheers Dave
|
|
|
|