Using some vb code to extract some information out of a website
Occasionally the website goes down, and presents a 504 error page.
The element I'm trying to extract is not present on the 504 page.
How can I edit my code so it only extracts the information if it actually exists?
Thanks in advance
Set TDelements = HTMLdoc.getElementById("menu_content").getElementsByTagName("TD")