Ist es möglich wenn ich in einer Zelle ein Gr (für Grau) oder Ge (für Gelb) eingebe das die Zellen auch in den Farbton formatiert werden.
Danke in Voraus!
Gruß Toni
Sub g()
' Tastenkombination: Strg+g
With Selection.Interior
.ColorIndex = 48
.Pattern = xlSolid
.PatternColorIndex = xlAutomatic
End With
End Sub
Sub y()
' Tastenkombination: Strg+y
With Selection.Interior
.ColorIndex = 6
.Pattern = xlSolid
.PatternColorIndex = xlAutomatic
End With
End Sub
Gruß