Quote Originally Posted by GTO
...As noted/commented in the code, this requires a reference to the "Microsoft HTML Object Library"...
Did you add a reference to the library?