11.12.2020, 13:18
Hallo,
probiere mal so:
probiere mal so:
Sub aab()Gruß Uwe
Dim lngZ As Long
Dim strE As String
For lngZ = 30000 To 1 Step -1
strE = Left(Cells(lngZ, "L").Value, 1)
If IsNumeric(strE) Then
If CLng(strE) > 1 Then
Rows(lngZ + 1).Resize(CLng(strE) - 1).Insert
Cells(lngZ, 1).Resize(, 2).Copy Cells(lngZ + 1, 1).Resize(CLng(strE) - 1, 2)
End If
End If
Next lngZ
Application.CutCopyMode = False
End Sub