You can make a keyboard shortcut for the formula / function of the hyperlink.
Just press ALT + F11, copy and paste the script below:
Sub OpenHyp() Workbooks.Open "FOLDER ADDRESS\" & ActiveCell.Value & "FILE EXTENSION" End Sub
replace the FOLDER ADDRESS = you can find it in the address bar of the file location, just copy, paste and add "\" at the end of the file address.
no need to replace ActiveCell.Value = this is the file name of your file, usually the contents of the cell.
replace the FILEEXTENSION = for PDF used by ".pdf", for a regular Excel file, use ".xlsx" and so on.
Then go to the developer tab, click "Macros", select the "OpenHyp" code that we created and click "Option". Now you can put a shortcut key
Hope this helps.
source share