Hello Mate,
I don't know of a way to do this with a formula. What I do is use this simple VBA function. To use it, open the VB Editor (Alt+F11), click Insert, Module and then paste this.
Function SpecialConcat(rnge As Range, Optional Seperator As String)
Dim lr As Long, lc As Long
For lr = 1 To rnge.Rows.Count
For lc = 1 To rnge.Columns.Count
SpecialConcat = SpecialConcat & rnge.Cells(lr, lc) & Seperator
Next lc
Next lr
SpecialConcat = Left(SpecialConcat, Len(SpecialConcat) - Len(Seperator))
End Function
If you wanted to have use of this in any workbook you could put it in your personal macro workbook or put it in an add-in.
HTH,
D
That is a very cool macro, but I am only familiar with th emacro recorder. I have followed your instructions, but don't know how to get the function to work. Could you cover that a bit?
To get the function to work, click the function button and find the 'USER DEFINED' range of functions. You should find it in there and you can use it the same way as any other!
And it works!!