BDCarrillo
Technical User
I'm not sure how to go about this... I need to find the row.id of text in a cell COMMENT that matches a string.
I'm not sure how to code it to "Look in the comments of the Q1:Q100 range of cells for a match"
If there's a way to kick out the comments from a different worksheet on the fly and "compare strTCrsName" to them, that'd probably work!
Thanks!
Code:
Dim Rng2 As Range
If Trim(strTCrsName) <> "" Then
With Sheets("Transcript").Range("Q1:Q100")
Set Rng2 = .Find(What:=strTCrsName, _
After:=.Cells(.Cells.Count), _
LookIn:=xlValues, _
LookAt:=xlPart, _
SearchOrder:=xlByRows, _
SearchDirection:=xlNext, _
MatchCase:=False)
I'm not sure how to code it to "Look in the comments of the Q1:Q100 range of cells for a match"
If there's a way to kick out the comments from a different worksheet on the fly and "compare strTCrsName" to them, that'd probably work!
Thanks!