Gruppe
Feature
Bereich
Bedingt
Thema
Bedingte Formatierung in Abhängigkeit eines Zellkommentars
Problem
Wie kann ich eine bedingte Formatierung von einem Zellkommentar in einem anderen Blatt abhängig machen?
Lösung
Den Code in ein Standardmodul eingeben.
StandardModule: basMain
Function Test(rng As Range) As Boolean
If rng.Comment.Text = "Test" Then
Test = True
Else
Test = False
End If
End Function