Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
But THAT is not what you specified!!!but it doesn't create a new row for [highlight blue][white]each[/white][/highlight] number..
Function RangeConcatenate(rngIn As Range, _
Optional strDelimiter As String = ", ")
[green] ' Usage
' A1 = Red
' A2 = White
' A3 = Blue
' RangeConcatenate(A1:A3) = Red, White, Blue
' RangeConcatenate(A1:A3," - ") = Red - White - Blue
[/green]
Dim rngTemp As Range [green]'each cell[/green]
Dim strTemp As String
Application.Volatile [green]'autoupdates[/green]
For Each rngTemp In rngIn [green]'loop through each cell[/green]
If Len(rngTemp.Text) > 0 Then [green]'ignore blank cells[/green]
strTemp = strTemp & rngTemp & strDelimiter
End If
Next
If Len(strDelimiter) > 0 Then [green]'remove the final delimiter[/green]
strTemp = Left(strTemp, Len(strTemp) - Len(strDelimiter))
End If
RangeConcatenate = strTemp
End Function