Hi,
Have you tried:
- in vba editor, menu Tools > Reference, add a ref to Windows Script Host
Object Model
- then you should be able to use the sample as described in
<http://msdn2.microsoft.com/en-us/library/9bbdkx3k.aspx>

Signature
Regards,
Sébastien
<http://www.ondemandanalysis.com>
> I would like to use some of the functionality of the Windows Scripting Host
> in a macro in Excel 2002. How would I go about referencing it in my macro?