You need to be aware of certain issues when using the scripting version of Visual Basic for Applications (VBA), the language used in MS Office tools for programming macros.
For example, in VBA syntax, a reference to any DirectScript object can be obtained by using the GetObject function. This is not possible in VBScript. As a workaround, DirectScript provides a Stub Object, which can be used in ASPs so that you can use DirectScript objects in your scripts. The restriction imposed by VBScript is for security reasons. The stub object allows you to get additional flexibility by bypassing some part of the security.