I am using all the solutions that appear above:
ActiveSheet.EnableCalculation = False
ActiveSheet.EnableCalculation = True
or
Application.Calculate
or
Application.CalculateFull
but none of them works in excel 2010, when I go to the cell and right click `refresh` it works. How can I refresh it within VBA.
This option : `Sheets("Name_of_sheet").Range("D424").Refresh` raise an `exception 438`.
questions:
1. How can I make the script supports `excel 2003,2007,2010`?
2. How can I choose using VBA the source file to refresh from?
edit:
-----
I want to simulate a right mouse clicking and choosing refresh in the menu in worksheet 3. that's the all story.