Code sehr langsam trotz(ohne select)
chris
habe eine kurze frage.ich habe einen Code der sehr langsam ist.
Was kann ich tun um diesen zu beschleunigen ?
Ich badanke mich an alle helfer schon im voraus.Ihr seid spitze !
Option Explicit
Dim x As Double
Dim suchbegriff As String
Sub start()
Application.Calculation = xlCalculationManual
Application.ScreenUpdating = False
With ThisWorkbook.Worksheets("Tabelle1")
For x = 2 To .Cells(.Rows.Count, 1).End(xlUp).Row
suchen_einfuegen (UCase(.Cells(x, 1)))
Next
End With
Application.Calculation = xlCalculationAutomatic
Application.ScreenUpdating = True
End Sub
Sub suchen_einfuegen(sbegriff)
Dim c
With Workbooks("vorab.xls").Worksheets("Final").Range("CI13:CI" & Rows.Count)
Set c = .Find(sbegriff, LookIn:=xlValues)
If Not c Is Nothing Then
MsgBox c.Row
End If
End With
End Sub