I am opening webpages from URL's in a worksheet so that I can print the specific webpage:
Occasionally the URL does not exist and redirects to the home page.Please Login or Register to view this content.
I would like to exit my code if the webpage redirects.
Any advice on how I could achieve this?
Bookmarks