Hi,
I have the code below that opens up a new instance of google.com and maximises the screen.
How could this be adapted to; (a) go to an instance of google.com that is already open and (b) zoom the web page to 150%?
Any help much appreciated.
I have the code below that opens up a new instance of google.com and maximises the screen.
How could this be adapted to; (a) go to an instance of google.com that is already open and (b) zoom the web page to 150%?
Any help much appreciated.
Code:
Private Declare PtrSafe Function ShowWindow Lib "user32" (ByVal hwnd As Long, ByVal nCmdSHow As Long) As Long
Sub Test()
Dim IE As Object
Set IE = CreateObject("internetexplorer.application")
ShowWindow IE.hwnd, 3
IE.Navigate "http://www.google.com"
Do While IE.Busy: DoEvents: Loop
Do While IE.readyState <> 4: DoEvents: Loop
End Sub