I'm dealing with a set of cells that looks something like this:

What I'm trying to do is filter through the Country column for each country, and then take each of the Mfr's and add them together so that I can filter for them all in another workbook.
So basically, I want to Join(m1, m2, m3) and this is how I'm trying to do it:
xRange is the column for "Mfr Abbreviation". I also have If xCell... <> "" Then because there are not "Previous Mfr Abbrev" for all entries in xRange
Dim tempMfr As String
Dim temp2Mfr As String
Dim stringArray() As String
Dim arraytostring As String
For Each xCell In xRange
tempMfr = xCell
If xCell.Offset(0, 2) <> "" Then
temp2Mfr = xCell.Offset(0, 2)
stringArray() = Split(temp2Mfr, ", ")
arraytostring = Join(temp2Mfr & stringArray, ", ")
stringArray() = Split(arraytostring, ", ")
For x = LBound(stringArray) To UBound(stringArray)
MsgBox (stringArray(x))
Next
End If
Next
My issue comes from the line Join(temp2Mfr & stringArray) due to the & creating a Type Mismatch Compile Error.
I've also tried:
ReDim Preserve stringArray(0 to (UBound(stringArray) + 1))
stringArray(UBound(stringArray)) = temp2Mfr
Once I get that sorted out, I plan on using a search in the other workbook that looks something like this:
Cells.AutoFilter Field:=4, Criteria1:= Array(MfrArray)
Thank you very much for your help.