Hey... There is the code.
Private Sub UserForm_Initialize()
WebBrowser.Navigate2 "http://www.nytimes.com/"
Do
DoEvents
Loop Until Me.WebBrowser.ReadyState = READYSTATE_COMPLETE
WebBrowser.Document.body.doscroll
WebBrowser.Document.body.doscroll
End Sub
Please someone help me.
For several days I seek a solution to create the command in VBA.
I am looking for a code that makes the page scroll down without using the mouse or keyboard. When the page loads, scroll down to the position I specified. The page will open in a WebBrowser on a UserForm...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.