M
Mason Pratt
I am currently using a function seen below to combine a text series of cells
(row or column) to display in one cell. This function works perfectly to
show me all the cells in the series. My question is: How do I modify the
function to skip every other cell (or skip every third cell, etc.) in the
text series and display the result in one cell? In other words, I need to
read a text series (row or column) and be able to combine and display them
in one cell by skipping a set number of cells. Thanks for any help.
Current Function
Function ConRange(CellBlock As Range) As String
For Each cell In CellBlock
ConRange = ConRange & cell.Value
Next
End Function
(row or column) to display in one cell. This function works perfectly to
show me all the cells in the series. My question is: How do I modify the
function to skip every other cell (or skip every third cell, etc.) in the
text series and display the result in one cell? In other words, I need to
read a text series (row or column) and be able to combine and display them
in one cell by skipping a set number of cells. Thanks for any help.
Current Function
Function ConRange(CellBlock As Range) As String
For Each cell In CellBlock
ConRange = ConRange & cell.Value
Next
End Function