How to improve the speed of VBA macro code?
Just reiterating what has already been said: Option Explicit Sub Macro1() ‘turn off as much background processes as possible With Excel.Application .ScreenUpdating = False .Calculation = Excel.xlCalculationManual .EnableEvents = False End With Dim historyWks As Excel.Worksheet Dim inputWks As Excel.Worksheet Dim nextRow As Long Dim oCol As Long Dim myCopy As Excel.Range Dim myTest As … Read more