Question 1: I don't THINK it would take too long for your macro to run through 6000 lines except... does it need to open every folder on the **? That could potentially take some time to do from a **.. or maybe not? I'm not sure.
I'm not entirely sure how long it would take. Not all that long, maybe a few seconds I would guess. The macro doesn't actually open the subfolders, just looks at their contents.
Question 2: What code and where do I put it to make this happen? They open the workbook and it auto runs the macro to do the hyperlinks.
Attached are instructions for where to paste the code. I changed the name to Private Sub Workbook_Open() so it just needs to be copy/pasted.
-Also, it will still need a standard module with only 1 line in it:
Public UpdateLinks As Integer
The following is the completed macro (with comments included)
Question 3: Is there a way to have a macro ask the user if they want to redo hyperlinks? So if they copy the contents to a server or their hard drive... they can just run it once and not have to redo it again each time. From a ** I imagine the hyperlinks will not save.
I included this functionality in the macro. It also asks if they want to remember that decision. Make sure to include the standard module with the line: Public UpdateLinks As Integer
In my test environment it is working. Test it out on your end, let me know if you come across any bugs.
~tigeravatar
Bookmarks