Hello gtmeloney,
Here ia macro that will auto size the comment. If the cell doesn't contain a comment then one is added, otherwise the text is replaced.
Sub CommnetTest()
Dim Cmnt As Comment
Dim Rng As Range
Dim Txt As String
Txt = "Comment test text."
Set Rng = Worksheets("Sheet1").Range("A1")
Set Cmnt = Rng.Comment
'Check if cell has a comment
If Cmnt Is Nothing Then
Rng.AddComment Txt
Set Cmnt = Rng.Comment
End If
With Cmnt
.Text Txt
.Shape.AutoShapeType = msoShapeRoundedRectangle
.Shape.TextFrame.Characters.Text = ""
.Shape.TextFrame.AutoSize = True
.Shape.TextFrame.Characters.Text = Txt
End With
End Sub
Bookmarks