Good question Les. If this is all the code, the UDF is definitely missing.
_________________________
Home page: http://www.kixhelp.com/hb/