Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 03-15-2014, 09:50 PM
macropod's Avatar
macropod macropod is offline First word of sentence IF and then Windows 7 32bit First word of sentence IF and then Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,384
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

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]
Reply With Quote
Reply

Tags
combine rules, macro



Similar Threads
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

Other Forums: Access Forums

All times are GMT -7. The time now is 05:12 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