What about using the UDF WSHPIPE?

That should do it too.

HTH,

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's