Hi,
I am trying to get some information about Yammer groups. Using the video tutorial in the link below I have modified the code to get the number of members from a yammer groups page. I am getting the error message "Run time error '91': Object variable or With block variable not set". If I then click debug, and carry on running the program it works fine as if there was never an error. It also works if I put a breakpoint on the line "sMembers = Trim(Doc.getElementsByClassName("yj-count")(1).innerText)" and then step past it, it jsut wont run all in one go. Despite searching the problem I have no idea what the problem could be.
http://www.youtube.com/watch?v=7sZRcaaAVbg
The code I am using is:
Thanks in advance for your help,
Regards,
Geraint
Bookmarks