Encontre esta función en la pagina:
http://www.danielklann.com/excel/user_defined_functions.htm
pero no hace lo que deberia de hacer, alguien podría ayudarme a corregirla?
Public Function ConcatenateRange(Separator As String, ParamArray ConcatRange() As Variant)
Dim vItem As Variant, rngCell As Range
Dim strSep As String
Dim vRetVal As Variant
For Each vItem In ConcatRange
For Each rngCell In vItem.Cells
vRetVal = vRetVal & rngCell.Value & strSep
Next rngCell
Next vItem
ConcatenateRange = Left$(vRetVal, Len(vRetVal))
End Function
http://www.danielklann.com/excel/user_defined_functions.htm
pero no hace lo que deberia de hacer, alguien podría ayudarme a corregirla?
Public Function ConcatenateRange(Separator As String, ParamArray ConcatRange() As Variant)
Dim vItem As Variant, rngCell As Range
Dim strSep As String
Dim vRetVal As Variant
For Each vItem In ConcatRange
For Each rngCell In vItem.Cells
vRetVal = vRetVal & rngCell.Value & strSep
Next rngCell
Next vItem
ConcatenateRange = Left$(vRetVal, Len(vRetVal))
End Function