ebiard, I think what he was trying to say about the header is that you need to "Make sure to post the
entire UDf within code-tags or post with PostPrep."

and also follow the standard format for the examples and the code. Which you seem to have gone back and done.
_________________________
Common sense isn't so common.