![]() |
|
|
|
#1
|
|||
|
|||
|
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
|
|
#2
|
|||
|
|||
|
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... |
|
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
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 |
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 for word to add page break and specific text to end of document
|
pizzaman1 | Word VBA | 6 | 11-14-2014 11:25 PM |