As you can see many of the features is not fully described. However, the UDF is working and fully functional. Recently, I found that I am making over and over again, so I decided to go public, in the hope of new concepts, or help in writing/documenting ..... REMARKS: To be sure that function return success or failure you should check @error macro  instead "Return Value". Do not use Magic Numbers especially when you will check @error -- I mean You should use predefined enumerations: