To do this task you will need a macro. You will have to initiate the hyperlink from within the macro so that you can count the time it takes to load. You will need to include code that can check the browser address so that it matches partof your hyperlink. I say this because most sites change the url by adding extrabits that may contradict your original link.
If there is no match for more that 5 seconds then range("A1").select
This might redirect the attention back to Excel.
I haven't tested this yet as it will require some nail-biting, hair-pulling, chain-smoking coding.