Excel VBA auf bestimmten Bereich anwenden
23.11.2023 19:12:59
elitebahnwaerter
Vielleicht könnt ihr mir helfen.
Dim strAlt As String
Dim strNeu2 As String
On Error Resume Next
strAlt = Target.Comment.Text
If strAlt = "" Then Target.AddComment.Shape.TextFrame.AutoSize = True
strNeu2 = vbLf & Application.UserName & " " & Date & "/" & Time & " " & Target.Value & strAlt
Target.Comment.Text strNeu2
On Error Resume Next