Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Modify a UDF please?
Could one of my valued
Function ConCatRange(CellBlock As Range) As String Dim Cell As Range Dim sbuf As String Dim pipe As Boolean pipe = True For Each Cell In CellBlock pipe = Not pipe If Len(Cell.Text) 0 Then If pipe = False Then sbuf = sbuf & Cell.Text & Chr(166) Else sbuf = sbuf & Cell.Text & "|" End If End If Next ConCatRange = sbuf End Function |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Modify a Macro | Excel Worksheet Functions | |||
Last person to modify | Excel Discussion (Misc queries) | |||
Cannot modify Comments | Excel Discussion (Misc queries) | |||
Modify database | Excel Worksheet Functions | |||
Help to Modify these guys | Excel Worksheet Functions |