|
|
Question : programmatically scroll web browser (2nd time)
|
|
This is a continuation of http://www.experts-exchange.com/Q_23023633.html
Me.SetFocus ocxWebBrowser.SetFocus SendKeys "{DOWN 3}" worked about 5 times then stopped working.
ocxWebBrowser.SetFocus fires the web browser control's on got focus event however, up, down arrow keys, page up, page down does nothing until after I click in the web browser control. Then the arrow keys etc scrolls the window. Debug.Print Screen.ActiveControl.Name before and after the ocxWebBrowser.SetFocus shows ocxWebBrowser.
Any ideas?
|
Answer : programmatically scroll web browser (2nd time)
|
|
Hi Nelson, The link I provided is for Access 2003 and SendKeys is on their list of unsafe VBA functions/expressions. You should check it out.
pDog
|
|
|
|
|