![]() |
|
#1
|
||||
|
||||
![]()
For code to use an Excel to store a word list for Find/Replace operations, see: https://www.msofficeforums.com/word-...d-replace.html. Compared to the approach there, it seems you'll need to either keep the workbook open while processing or create multiple find arrays in Word, one for each of your rules 2, 3 & 4.
As indicated in my previous post, though, you're liable to have problems implementing your rules 2, 3 & 4. It's also not clear how you propose to do the line numbering. Word has an automatic line numbering feature you could use. However, you also need to be aware that what appears on one line on your PC could be on a different line on another PC. That's because Word uses information from the active printer to determine the page formatting. And, of course, if one inserts a 'front page message', that could mess up the line numbering unless a Next page Section break is used and line numbering on the first page is disabled.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
![]() |
Tags |
combine rules, macro |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Append text to a sentence containing specific word | dgp | Word VBA | 3 | 02-28-2014 10:38 PM |
Find/Replace, Duplicating a word in a sentence to hundreds of sentences. | DDDD | Word | 0 | 10-08-2013 10:48 AM |
lost space sentence word 2010 in 2007 | rahmat | Word | 2 | 09-17-2013 06:17 PM |
Space Between Each Sentence | dazwm | Word | 2 | 10-17-2012 04:19 AM |
I want to lock a sentence in Word | smorkette | Word | 1 | 02-06-2010 12:57 AM |