Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 10-10-2017, 02:07 PM
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

Make the change as per the red line below and let me know how you get on



Code:
Case SPACE, SEMI_COLON, POINT, RBRACKET
            rng.MoveEndWhile cset:=AFTER_A_NUMBER, Count:=wdBackward
Reply With Quote
  #2  
Old 10-11-2017, 01:33 AM
hullsquashboy hullsquashboy is offline Macro how to add hyperlink to text in document Windows 10 Macro how to add hyperlink to text in document Office 2007
Novice
Macro how to add hyperlink to text in document
 
Join Date: Oct 2017
Posts: 17
hullsquashboy is on a distinguished road
Default

Hi,

I was not processing the macro properly..it was me!!!

I have added the changed code, but think that the script is stopping from something else. When I run it it seems to only sporadically pick out any book in the first line of the LIST_OF_AUTHORITIES and hyperlink these, it seems to ignore all the other lines with the books in them.

I have 65 pages of text and it stops at about 6, with the messages box "Oops. We found..." it does this about 6 times before crashing out.

Any ideas...please...
Reply With Quote
Reply



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 02:19 PM.


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