| || |
When i try to execute following code, I am getting Runtime Error 91 "Object variable with block variable not set"
'Get the Page
Set thePage = RSWApp.om.GetTopDocument(0)
numLinks = thePage.links.Length (this line gives me runtime error)
Can anybody help Please,
Thanks And Regards,
Re: Runtime Error
This will be the case if you are doing this beforePlay due to the pages not being loaded when the script is trying to get the links. Try this afterplay and let me know if this helps.