Is there a way to populate the comments box on one tab to a cell on another tab? I have a tab that contains information on various service calls and I have another tab with the call texts that the technicians enter describing what they had to do on another tab. I would like to set it up, so that the comments box for each service call on one tab will refelect that call's text on the second tab. Is that possible?
If found this code else where on this forum, but am not sure how to modify it so that it will show the correct call text with each call (there is a call number on both tabs that would link the two sets of data):
Sub CommentAddRange1()
Dim i As Long
Dim msg As String
For i = 2 To Range("A" & Rows.Count).End(xlUp).Row
msg = msg & Range("A" & i) & Chr(10)
Next i
msg = Trim(msg)
With Range("N2")
.ClearComments
.AddComment
.Comment.Text msg
End With
End Sub
If found this code else where on this forum, but am not sure how to modify it so that it will show the correct call text with each call (there is a call number on both tabs that would link the two sets of data):
Sub CommentAddRange1()
Dim i As Long
Dim msg As String
For i = 2 To Range("A" & Rows.Count).End(xlUp).Row
msg = msg & Range("A" & i) & Chr(10)
Next i
msg = Trim(msg)
With Range("N2")
.ClearComments
.AddComment
.Comment.Text msg
End With
End Sub