is it possible to recalculate only a cell or a range in VBA ? What I like to use for a sheet is the following, but how to do it on a cell only ? Or range ?
' ActiveSheet.EnableCalculation = False
' ActiveSheet.EnableCalculation = True
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There is a calculate method you can call on ranges:
Try it out by putting =Now() in A1 and running Calculate and watch it update the seconds 🙂
You can for a recalc of all the cells in a sheet by using:
See also: Microsoft MSDN, Excel Recalculation, 16 July 2012.