Sub leerzeile_einfuegen()
Dim loLetzte As Long
Dim inI As Integer
Application.ScreenUpdating = False
With Worksheets("Tabelle1")
loLetzte = IIf(IsEmpty(.Cells(Rows.Count, 3)), .Cells(Rows.Count, 3).End(xlUp).Row, Rows.Count)
inI = 1
Do While IsEmpty(.Cells(inI, 3)) = False
If .Cells(inI, 3).Value <> .Cells(inI + 1, 3) Then
Rows(inI + 1 & ":" & inI + 1).Insert
loLetzte = loLetzte + 1
inI = inI + 1
End If
inI = inI + 1
Loop
End With
Application.ScreenUpdating = True
End Sub
Zeile einfügen über einen bestimmten Wert
Rudi81 22.01.2007 - 87 Hits - 1 Antwort
Leerzeilen einfügen
MISSRAPIDOVS 22.02.2007 - 64 Hits -
Musik endlos einfügen in ppt.-Präsentation
Gabinka 13.03.2007 - 294 Hits -
2 Zellen in Tabellenblatt 1in Tabellenblatt 2 automatisch übernehmen
shayenne27 17.10.2007 - 90 Hits - 7 Antworten