View Single Post
Old 10-10-2008   #3 (permalink)
Bishop


 
 

RE: How to print a web page with VBA?

Hi,

here is a VBScript (tested) that print a Web page.

I think it will also work in VBA.

Link:
http://www.scriptbox.at.tt/index.php...age.vbs&list=1

alt. Link:
http://scriptbox.boris-toll.at/index...age.vbs&list=1


"Dudely" wrote:
Quote:

> With VBA, I do something like the following:
>
> Set obIe = CreateObject("InternetExplorer.Application")
> obIe.navigate (URLaddress)
>
> The page loads, and now I want to print the page.
>
> I've tried:
> obIe.print
> me.print
> printer.print
> obIe.document.print
>
> and some others. Nothing I've tried works. Does anyone know the
> correct way to do this?
>
> Thank you in advance.
>
My System SpecsSystem Spec