Paste strings together using a separator and a flexibel number of parameters (1 Viewer)

Guus2005

AWF VIP
Local time
Today, 14:10
Joined
Jun 26, 2007
Messages
2,641
A quick and easy way to paste strings together using the keyword ParamArray to collect a variable number of arguments.
Code:
Public Function Paste(strSep As String, ParamArray arrFields())
'Paste fields together using strSep as a separator
    Paste = Join(arrFields, strSep)
End Function

Share & Enjoy!
Guus
 

Users who are viewing this thread

Top Bottom