i am trying to save the complete webpage so it looks basically like a print screen, with all the formatting using vba. I am using the internet explorer object. I want it to save a copy like internet explorer does when you do a saveas from the internet explorer file menu and saving it as a webpage complete html.
S = IE.Document.documentElement.outerHTML ' get html file
Fname = "Test.html"
Open Fname For Output As #1
Print #1, S ' save the header file