Can anyone advise how I can import a website into a new worksheet (i.e. the whole webpage, not parts thereof), I will later print this to pdf.
I can open the page I require using the following code:
Sub Webpage()
If Range("B2").Value <> "" Then
ActiveWorkbook.FollowHyperlink "http://www.google.co.uk/search?q=" & "Standard Text" & Range("B2").Text
End If
End Sub
As I need to print the page to PDF in it's original form I need whatever I import to remain as close to how it looked in IE as possible.
If anyone can provide some sample code that would be much appreciated.
Many thanks
Gordon
I can open the page I require using the following code:
Sub Webpage()
If Range("B2").Value <> "" Then
ActiveWorkbook.FollowHyperlink "http://www.google.co.uk/search?q=" & "Standard Text" & Range("B2").Text
End If
End Sub
As I need to print the page to PDF in it's original form I need whatever I import to remain as close to how it looked in IE as possible.
If anyone can provide some sample code that would be much appreciated.
Many thanks
Gordon