Existe uma maneira de copiar e colar em um comentário de célula? Só é possível fazer isso a partir da área de transferência, não de uma referência de célula ou intervalo. Ou existe uma maneira de usar o VBA para acessar as informações na área de transferência e depois colar?
Sub fillcomment()
Sheets("Calendar").Select
Application.Goto Reference:=Range(Range("Calendar!calendarRef").value)
Application.CutCopyMode = False
Sheets("FORMULAS").Select 'Surname
Range("C8").Select
Selection.Copy
Sheets("Calendar").Select 'paste surname
ActiveCell.Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Application.CutCopyMode = False
'select and paste comment
Sheets("Calendar").Select
ActiveCell.ClearComments
ActiveCell.AddComment
ActiveCell.Comment.Visible = False
ActiveCell.Comment.Text Text:=Range(Range("FORMULAS!calcom").value)
End Sub
Preciso das informações da variável do intervalo chamado "calcom" ou, se for mais fácil, das células concatenadas no B6 e copiar e colar no comentário