Macro how to add hyperlink to text in document
Hi
I want to format a document with Bible verses scattered throughout the document. They will be hyperlinked to relevant Bible chapters and verses in other documents.
This is an example of paragraph:
John was apparently among the first of John the Baptist’s disciples to be introduced to Jesus and one of the first four to be invited to be followers of Christ. (Mark 1:16-20; John 1:35-39) John, who may have been a cousin of Jesus, developed a close friendship with Jesus, becoming known as “the disciple whom Jesus loved.” (John 13:23; John 21:20, 24) John was present at the heartbreaking scene of execution, where Jesus entrusted the care of his mother to John. Also, it was John who outran Peter as they sped to the tomb to investigate the report that Jesus had risen.— John 19:26, 27; John 20:2-4.
So from the start I would like the macro to search for Mark, John etc and then a number followed by a colon and another number (eg 1:1). Once found, it would create an underlying hyperlink formatted as follows: W:\Skydrive\Docs \John\Mark.htm#chpt_1_16, and apply it to the text so that it is hyperlinked.
Thanks
|