Friday, December 11, 2015

Make selected file path a hyperlink

Office programs convert URLs into hyperlinks very easily, like with a space after the address. But they don't do this if the address is to a file path. I send file paths to colleagues in e-mails, Word documents, and Excel files frequently, so I wanted to make it easy to convert the text of a file path into a hyperlink to the file or folder. The quickest built-in way to do this is select the file path and use the keyboard shortcuts Ctrl + C, Ctrl + K, Ctrl +V, Enter. But now I've created a macro, so it's a click (or a single keyboard shortcut, if you like) away.