<span style=
"color: rgb(0, 0, 0); font-family: Arial, Helvetica, sans-serif;"
>
Hatte vorher den falschen Code kopiert :(
Und folgendes für das Textbox wo der Kommentar eingegeben wird:</span>
Option
Explicit
Private
Sub
cmd_Bestätigung_Text_Click()
ActiveSheet.Unprotect Password:=
""
ActiveCell.NoteText Text:=txt_Kommentar.Value
If
txt_Kommentar.Value <>
""
Then
ActiveCell.Interior.ColorIndex = 19
End
If
Unload
Me
ActiveSheet.Protect Password:=
""
, AllowFiltering:=
True
frm_Tabellenkonfiguration.Show
End
Sub