Some of the links in the before worksheet have no url in the address section of the link, while all of the links in the all_data sheet have them (Edit: not all are there). If you hover your mouse over then cells, some will change to the pointing finger to click and on the others, the cursor does not change. If you right click and see an Edit Hyperlink' selection, it has a URL. If it only shows the plain 'Link' selection, it doesn't have a URL.
Once you fix the links, try this simpler bit of code...
Bookmarks