| || |
General error while using browser object
I am defining browser object as follows:
Set BrowserObject = Browser("micClass:=Browser")
It worked fine for following code :
txtDesc = BrowserObject.object.document.getElementsByTagName ("META")("description").content
while when i tried the code below it throws 'General run error' on that line:
Set linksCollection = BrowserObject.object.document.Links.Tags("A")
Not sure why?
Re: General error while using browser object
This might because you might have multiple browsers open. You can confirm that by using
If you get a False for the above messagebox then you are bound to get a General run error.