Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #5  
Old 10-09-2017, 05:00 AM
slaycock slaycock is offline Macro how to add hyperlink to text in document Windows 7 64bit Macro how to add hyperlink to text in document Office 2013
Expert
 
Join Date: Sep 2013
Posts: 255
slaycock is on a distinguished road
Default

OK. The code currently only looks for references of the form '(John 1:x-y)'

From your original post there are other variants of that along the lines of

(Mark 1:16-20; John 1:35-39) two different references
(John 13:23; John 21:20, 24) three references using different separators ';' and ','.
John 19:26, 27; John 20:2-4. No brackets plus two separators ';' and ','.

There is a least consistency in the use of ';' and ',' in the examples you've provided.

Think of the possible confusion to your users when converting the following

John 21:20, 24

I'm assuming that this is two hyperlinks

John 21:20 and
John 21:24

You could have the two hyperlinks as

John 21:20, 24

Note that the comma isn't blue. I think is confusing for a user as its not clear if the second hyperlink is independent to the first.

Alternatively we can convert

John 21:20, 24

to

John 21:20, John 21:24

during the search, which is a bit more wordy but much clearer.

I'm happy to have a look at upgrading the search function but it would be helpful to know what format you'd prefer the output (and also if there are any further variants in how references are provided)
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro how to add hyperlink to text in document How to embed hyperlink to another document into an ActiveX Control Text Box kenboy21 Word VBA 3 02-24-2017 09:41 PM
Macro (or something) to run Spell Check within rich text content boxes in lock document NMBELL Word 8 12-21-2015 04:09 PM
Macro how to add hyperlink to text in document Moving from hyperlink to hyperlink in a document Bengt Word VBA 2 12-21-2015 12:42 AM
Hyperlink: open the document only once, quit & reopen PP, hyperlink doesnt work anymore quanghuynguyenhua PowerPoint 0 10-10-2015 06:17 PM
Macro how to add hyperlink to text in document Macro for word to add page break and specific text to end of document pizzaman1 Word VBA 6 11-14-2014 11:25 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 06:00 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft