Also you posted use on my MapDrive function but do not show the UDF code in your test script. For the script to work you will need to include the function source in your script.
_________________________
Home page: http://www.kixhelp.com/hb/