I have 2 columns, the first is a list of values I want to check against, the second is the description corresponding to the first column. the first column can have multiple instances of the same value with different descriptions in the second column. I want to print out all the different descriptions in a horizontal row. I have this code, which i can tell is referencing the correct cells by using debug.print, but the cells won't copy to the destination cell.
Function MyFind(lookup As String, FindRng As Range)
Dim curcell As Range
Dim findcount As Integer
Set curcell = Application.Caller
findcount = 1
For Each celltocheck In FindRng
If celltocheck = lookup Then
Debug.Print celltocheck.Address
Debug.Print celltocheck.Offset(0, 1).Address
Debug.Print celltocheck.Offset(0, 1).Value
Debug.Print curcell.Offset(0, findcount).Address
celltocheck.Offset(0, 1).Copy Destination:=curcell.Offset(0, findcount)
findcount = findcount + 1
Else
End If
Next
End Function