Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
search and replace macro genius?
I wonder if some cyber-macro genius out there has figured out a super macro
that can be used for sweeping multiple cobwebs out of Word documents in one pass, such as, but not limited to pesky things like: 1. make sure all apostrophes are curly, not straight, in any font. 2. transform all (TM) or TM into superscript TM, in any font 3. transform all (R) to superscript registered symbol, in any font 4. protect onlyl the first instance of every (R) and (TM) on every page of a ..doc 5. abbreviate U.S. (not US) wherever it precedes the word Government or the name of a government organization (e.g. U.S. Army, etc.) 6. Initial Cap the first word in every bullet 7. Don't Initial Cap every word in a bullet 8. Remove periods from bullets unless they are complete sentences. 9. Use one space between sentences. 10. Change all "web site" into "website" 11. Change all degree symbols from text copied from emails (where they serve as spaces) into actual spaces; then remove all double spaces. ....and so forth....the purpose being to automate the processing of documents within a tech pubs work group to make them automatically conform to departmental usage standards. I have found one ancieint shareware utility (Search n Replace, by Thomas A Lundin, downloadable from he http://www.delphi32.com/vcl/4559/)...but it's going to take a master's degree in searchnreplaceology to figure out how to make it do complicated things like I'm proposing. However, I have played with it a bit, and it can simultaneously process hundreds of search/replace strings in one document pass, like greased lightning...virtually instantly...so fast that you at first don't think the program actually RAN! When you look into the file and realize everything got fixed instantly, it's astonishing! |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Mega macro with find and replace (HELP!) | Microsoft Word Help | |||
Search and Replace not working if I select a Format for Heading St | Microsoft Word Help | |||
Search and replace problem | New Users | |||
search and replace symbol characters | Microsoft Word Help | |||
search and replace symbols | Microsoft Word Help |