Trevor G
Registered User.
- Local time
- Today, 03:29
- Joined
- Oct 1, 2009
- Messages
- 2,361
I have the following code to create a comment box in a cell, but what I am after is for it to be filled with a range of cells, currently it will only add 2 cell contents.
Sub tryme()
'looking to use dynamic list for comments
'fill the comment with range of cells which will vary in size
Range("n2").ClearComments
Range("n2").AddComment
Range("N2").Comment.Text Range("F2").Value & Chr(10) & Range("F2").Offset(1, 0).Text
End Sub