RE: VBA Consolidate Data



Function pack_um(r As Range) As String
pack_um = ""
i = 1
For Each rr In r
If i = 1 Then
pack_um = rr.Value
i = 2
Else
pack_um = pack_um & "," & rr.Value
End If
Next
End Function

--
Gary''s Student - gsnu200763


"jlclyde" wrote:

I am looking for a chunk of code that will take a range of multiple
cells and consolidate it into one cell seperated with commas.
Hopefully someone has this code just laying around.

Thanks
Jay

.