View Single Post
Old 10-10-2008   #9 (permalink)
mayayana


 
 

Re: How to print a web page with VBA?

Quote:

>
For whatever reason the loop code doesn't seem to work, instead I use
a sleep 5000.
Quote:

>
It should work if it's called after Navigate.
I usually use it with WScript.Sleep 100 in
the loop, but it should work either way.
Quote:

>
The real issue: Your code works! Well, partially. It prints the
first page, but not the second. There are only 2 pages. The second
page is all images.
Quote:

>
The second page? There's only one page that
one navigates to. If there's a page 2, as with many
news articles that run multiple pages, that's just
a link on the first page. You'd have to navigate to
that separately and load it as a second document.



My System SpecsSystem Spec