| || |
How to get the listbox items from an already opened webpage using VBScript
How to get the listbox items from an already opened webpage using VBScript.
For example, Out of 4 webpages opened, I want to navigate to one particular webpage and list out the Items in a listbox.
Here is the code which I tried. But this code is not recognizing the browser:
Set objShellWindows = shapp.Windows
Set WshShell = WScript.CreateObject("WScript.Shell")
on error resume next
For Each owin In shapp.Windows
if instr(owin.document.location.href, surl) > 0 Then
WshShell.AppActivate "Google - Windows Internet Explorer"
Last edited by suresh_edk; 06-17-2014 at 11:52 PM.
Tags for this Thread