Public Sub fktKundennummer()
Dim intZeile As Integer
Dim intFarbe As Integer
Dim letzteZeile As Long
'letzte beschriebene Zeile
letzteZeile = Range("B65536").End(xlUp).Row
For intZeile = 1 To letzteZeile
If Cells(intZeile, 2).Value <> Cells(intZeile + 1, 2).Value Then
Cells(intZeile, 2).Select
'Linie unter Kundennummer
With Selection.Borders(xlEdgeBottom)
.LineStyle = xlContinuous
.Weight = xlMedium
.ColorIndex = xlAutomatic
End With
End If
Next
End SubPublic Sub fktKundennummer()
Dim intZeile As Integer
Dim letzteZeile As Long
'letzte beschriebene Zeile
letzteZeile = Range("B65536").End(xlUp).Row
For intZeile = 1 To letzteZeile
If Cells(intZeile, 2).Value <> Cells(intZeile + 1, 2).Value Then
Range(Cells(intZeile, 1), Cells(intZeile, 9)).Select
'Linie unter Kundennummer
With Selection.Borders(xlEdgeBottom)
.LineStyle = xlContinuous
.Weight = xlMedium
.ColorIndex = xlAutomatic
End With
End If
Next
End Sub
Zellen in Spalte A vergleichen und bei Übereinstimmung Werte aus Spalte B addieren
superduke 24.04.2007 - 131 Hits - 2 Antworten
Tabellenvergleich
beppohofmann 18.06.2007 - 774 Hits - 4 Antworten
Tabellen vergleichen
Euregio 14.12.2007 - 100 Hits - 1 Antwort
Zwei Spalten vergleichen
annakri 24.01.2008 - 51 Hits - 3 Antworten