If
c.Font.ColorIndex <> 16
Then
ActiveSheet.Unprotect Password:=
""
c.Font.ColorIndex = 16
c.Offset(0, 1).Resize(1, 2).Font.ColorIndex = 16
ElseIf
c.Font.ColorIndex = 16
Then
ActiveSheet.Unprotect Password:=
""
c.Font.ColorIndex = xlAutomatic
c.Offset(0, 1).Resize(1, 2).Font.ColorIndex = xlAutomatic
Range(
"A6"
).Value =
"Gebäude"
End
If