Excel VBA: Forward ParamArray to Application.Run
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: When programming in Excel VBA, I often switch off Calculation and ScreenUpdating (sometimes also DisplayAlerts, etc.), do some lengthy calculations, and switch them back to their previous states (not necessarily on because these functions may call each other). So I would like to have a standard way for this. There are no lambda functions in VBA but Application.Run may be an acceptable solution, so I came to this code: Public Function FastRun(strMacroQuoted As String, ParamArray varArgs() As Variant) As Variant Dim blnOldScreenUpdating As