View Single Post
 
Old 07-16-2020, 01:43 PM
scientist101 scientist101 is offline Windows 10 Office 2019
Novice
 
Join Date: Jul 2020
Posts: 6
scientist101 is on a distinguished road
Default Word macro to cut a range of text and apply to subsequent text as a hyperlink

Hi. I have an EndNote bibliography in my Word file that I would like to link to specific pdf files that are located on my computer. When I format my bibliography I can make it display the references as follows. I specifically set-up the software to include the "<<" and ">>" marks.

1. <<file://C:\reference 1 pdf location>><<Reference 1 description>>
2. <<file://C:\reference 2 pdf location>><<Reference 2 description>>

Is there a way to build a macro that cuts and pastes that reference location and hyperlinks it to the subsequent text? Maybe something that goes in this order?

First

1. <<file://C:\reference 1 pdf location>><<Reference 1 description>>
2. <<file://C:\reference 2 pdf location>><<Reference 2 description>>

Then (with references now hyperlinked)

1. <<Reference 1 description>>
2. <<Reference 2 description>>


Final (final action to find and delete "<<" and ">>" characters)

1. Reference 1 description
2. Reference 2 description
I'm not sure if this is possible, but any help would be greatly appreciated.

Cheers
Reply With Quote