View Single Post
 
Old 07-23-2010, 09:19 AM
golfnut324 golfnut324 is offline Windows XP Office 2007
Novice
 
Join Date: Jul 2010
Posts: 1
golfnut324 is on a distinguished road
Default Pagination of HTML Document

Can someone please help with some vba code? I have a report that comes to me as a html doc. i would like to open it with Word (which isn't a problem). After I open it, I want to run a macro that paginates it by starting a new page every time a specified word, phrase or character is encountered.

The problem is that the html doc just runs it all together when printed even though a common header is printed. If I can use an element of the common header to start a new page in Word, it will print out nice and pretty.

Thanks for any help that can be provided on this.

Craig
Reply With Quote