Forum Discussion
Excel rewrites my hyperlinks to sharepoint
Any solution to this? I have been working on a huge index to link to various files and all of the links just changed to the sharepoint link. I want to open the local file that I linked to, not some online version through a browser. I put so much work into this index, only to have the whole thing destroyed by this.
don242can unfortunately, I have not seen a resolution to this issue. Sorry to hear it has set you back.
- don242canJul 11, 2022Copper ContributorFverley1223 thanks for the reply. The links were holding for a few weeks of working on this but suddenly today they all pointed to the sharepoint. Completely defeated now.
- Rod_HorningJul 11, 2022Copper Contributor
Maybe this will work
Make vCommand a Variant
Instead of Dim vCommand as String, use Dim vCommand as Variant
- Rod_HorningJul 11, 2022Copper Contributor
- Rod_HorningJul 11, 2022Copper ContributorMaybe... Dim vCommand as String change to Dim vCommand as Variant
- Rod_HorningJul 11, 2022Copper Contributor
Grrr. Just ran into another EXCEL got you. If the hyperlink address is to long (and I don't know how long is long) then selection.hyperlinks(1).address does not return the full address. Instead it returns ../../ and the right hand portion of the full address.