I have exported a worksheet from a SharePoint library, it has the file name and the hyperlink to the SharePoint location already.
I am attempting to match these to another link that has the same list of file names so I used the command
G2 is the file name reference, column A includes the exported file name with the hyperlink
Now if I click on the original cell (that was exported from SharePoint), it directs me to the location with no issues. But if I click on the new cell with the function, I get the message "Cannot open the specified file."
How can I fix this? Is there an alternative solution to this, possibly something in VBA?
I am attempting to match these to another link that has the same list of file names so I used the command
Code:
=HYPERLINK(VLOOKUP(G2,A:A,1,FALSE),G2)
G2 is the file name reference, column A includes the exported file name with the hyperlink
Now if I click on the original cell (that was exported from SharePoint), it directs me to the location with no issues. But if I click on the new cell with the function, I get the message "Cannot open the specified file."
How can I fix this? Is there an alternative solution to this, possibly something in VBA?