Excel VBA: Long Execution Time
问题 I've created a VBA code to delete extra rows and columns that were needed for initial calculations but are required to be removed before converting/importing a csv into a database. The code loops through 21 sheets and runs for about 4 minutes. Is this a decent run time or can it be shortened? ~Thanks Public Sub Test() Dim xWs As Worksheet Set xWs = ActiveSheet Dim Firstrow As Long Dim Lastrow As Long Dim Lrow As Long Dim CalcMode As Long Dim ViewMode As Long 'SETTING DEPENDENT VALUES TO