Form.Recalc method (Access)

The Recalc method immediately updates all calculated controls on a form.



expression A variable that represents a Form object.

Return value



Using this method is equivalent to pressing the F9 key when a form has the focus. Use this method to recalculate the values of controls that depend on other fields for which the contents may have changed.


The following example uses the Recalc method to update controls on an Orders form. This form includes the Freight text box, which displays the freight cost, and a calculated control that displays the total cost of an order including freight. If the statement containing the Recalc method is placed in the AfterUpdate event procedure for the Freight text box, the total cost of an order is recalculated every time a new freight amount is entered.

Sub Freight_AfterUpdate() 
End Sub

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.