Insert Hyperlink via VBA
- by Martin
I have a Word VBA macro that loops through a directory and writes down the file path of files selected for some criteria into a new Word document. Works well as plain text (as part of a loop):
wdDocResults.Content.InsertAfter objFile.Path & Chr(13)
However, I'd like them to be hyperlinks. The following works as single macro, but when called…