Excel VBA 关闭屏幕更新

关闭屏幕能提高 VBA 程序运行速度

关闭屏幕更新:

Application.ScreenUpdate = False

VBA sub程序运行结束时打开屏幕更新:

Application.ScreenUpdate = True