This routine combines the selected cells into one long string in the current cell.
' Combine cells
' Copyright under GPL by Mark Grimes
Sub mgCombineCells()
t = ""
For Each c In Selection.Cells
t = t & Trim(c.Formula) & " "
Next
t = Left(t, Len(t) - 1)
ActiveCell.Formula = t
End Sub
The contents of this blog are licensed under the Creative Commons “Attribution-Noncommercial-Share Alike 3.0″ license.