Anyhow the script was based on a request from someone in the Help and Support, who was wondering if you can create custom COM objects. And this in order to organize UDF's in a better way, and get the benifit of using METHODS, PROPERTIES and EVENTS. Well actualy there is an ancient technique that supports this. For those who are not familiar with the technique it is called : Windows Script Components More information can be found here : Writing COM Objects with Scripting Languages