title: Function call on left hand side of the assignment must return Variant or Object, finding common values in two arrays
body: <p>I've got two arrays and I'm trying to pull out the common values in them and the function findUniques is supposed to return the strings (they're names) concatenated and separated by a comma. I think I'm close but I can't find what's wrong. I get an error in line 10 </p>
  
  <pre><code>Function findUniques(astrArray1() As String, astrArray2() As String) As String
  
      Dim blnMP5 As Boolean
      blnMP5 = False
      Dim counter1 As Long
      Dim counter2 As Long
  
      For counter1 = LBound(astrArray1) To UBound(astrArray1)
          For counter2 = LBound(astrArray1) To UBound(astrArray2)
              If astrArray1(counter1) = astrArray2(counter2) Then
                  blnMP5 = False
                  If blnMP5 = True Then
                      findUniques() = findUniques &amp; "," &amp; "astrArray1()"
                  End If
              End If
          Next counter2
      Next counter1
  
  End Function
  </code></pre>