Hi,
I have the code below which works fine, however how would I adjust or add to the code to change the text to bold on just the first line in the comment box, rather than all lines?
Ultimately I would want to be able to specify the line number, eg. line 1, line 5 etc..
Any help much appreciated.
Thanks.
I have the code below which works fine, however how would I adjust or add to the code to change the text to bold on just the first line in the comment box, rather than all lines?
Ultimately I would want to be able to specify the line number, eg. line 1, line 5 etc..
Any help much appreciated.
Thanks.
VBA Code:
Sheet12.Select
Range("D9").Comment.Text Text:="Feedback:" & Chr(10) & Range("F4") & Chr(10) & Range("F5")
Range("D9").Comment.Shape.TextFrame.Characters.Font.Size = 10
Range("D9").Comment.Shape.TextFrame.Characters.Font.Bold = True
Range("D9").Comment.Shape.TextFrame.AutoSize = True