我这里有这个模块,它是 Workbook 子例程。我一生都无法理解 GenerateLimitSummary 是如何运行的?有人可以在这里阐明流程吗?
Private LimitBool As Boolean
Private Sub Workbook_SheetCalculate(ByVal Sh As Object)
If LimitBool Then Exit Sub
' use conditional formatting to highlight limit breaches
ApplyConditionalFormatting
' regenerate the summary limits sheet
LimitBool = True
GenerateLimitSummary
LimitBool = False
End Sub