Worksheet.Calculate Event (Excel)
Occurs after the worksheet is recalculated, for the Worksheet object.
식 .Calculate
식 A variable that represents a Worksheet object.
nothing
This example adjusts the size of columns A through F whenever the worksheet is recalculated.
Private Sub Worksheet_Calculate()
Columns("A:F").AutoFit
End Sub