Avatar of Keith McElroy
Keith McElroy

asked on 

Excel VLOOKUP > Comment

lookupRes = Application.WorksheetFunction.VLookup("myvalue", Sheets("Library").Range("B1:C20", 2, False)

This function gets the value 2 cells over from where VLOOKUP finds a match, perfect!

I need to following to work in order to get the Comment from the matched cell

fuzzy code:
lookupRecComment = Application.WorksheetFunction.VLookup("myvalue", Sheets("Library").Range("B1:C20", 2, False).Comment.Text

How do I get the row, cell, range or something navigational so I can grab the Comment.Text?
VB Script

Avatar of undefined
Last Comment
Subodh Tiwari (Neeraj)

8/22/2022 - Mon