Dataman,
Peerhaps I confused you on your other post...

The UDF forum is not a place to discuss problems with someone else's UDF but rather, a place to share UDFs of your own creation. There are also strict guidelines to be followed for UDFs. That said, a moderator will move this thread.

Last time you posted a snippet of code that did not include the UDF. This time you posted just one of the UDFs without the callin code. You also failed to post the ConnectShare() UDF that this UDF calls.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.