Hallo,
brauche mal wieder etwas Hilfe.
Die Spalte D einer Tabelle (Exel 2000) wird mit 6 Verschiedenen
Wörtern aus eine ComboBox gefüllt. Jedes Wort soll automatisch
eine bestimmte Textfarbe bekommen.
Hier mein Makro im Modul Tabelle2:
Private Sub Worksheet_Change2(ByVal Target As Range)
Select Case ActiveCell.Value
ActiveCell.Font.ColorIndex = 2
Case „Schüler“
ActiveCell.Font.ColorIndex = 3
Case „Jugend passiv“
ActiveCell.Font.ColorIndex = 4
Case „Jugend aktiv“
ActiveCell.Font.ColorIndex = 5
Case „Schützen passiv“
ActiveCell.Font.ColorIndex = 6
Case „Schützen aktiv“
ActiveCell.Font.ColorIndex = 7
Case „Damen“
End Select
End Sub
Mit „ActiveCell“ funzt das nicht.
Weiss jemand eine andere Lösung?
Gruß Skaletti!