Windows IT Pro is the leading independent community for IT professionals deploying Microsoft Windows server and client applications and technologies.
  
  
  Advanced Search 


August 21, 2008

Replacing Text Automatically in Microsoft Word

RSS
Subscribe to Windows IT Pro | See More Tips Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!

Recently, I wrote about inserting easy-to-find symbols such as $$ to mark places within a document that need additional work. (See “More Microsoft Word Tricks,” InstantDoc ID 99781  or click http://windowsitpro.com/article/articleid/99781/more-microsoft-word-tricks.html.) A lot of you wrote asking for other tips about "marking places" in long documents.

Three readers who wrote articulated an almost identical need: "I need to mark places all through a very long document where a graphic needs to be placed." Two of the readers needed to place a logo at the beginning of certain paragraphs, and one needed to place a specially designed graphic that marked certain paragraphs as "urgent." In one case, the decision about where to place the graphic was made by an editor who inserted a note that said "put graphic here" in the document. The others needed to make the decisions on graphic placements after they finished the document.

There's an easy way to mark long documents: Just use the familiar Find and Replace. Did you know that Find and Replace can use the clipboard in the "Replace With" field?

Assuming the text "put graphic here" only appears where the graphic needs to go, and isn't in the text of the document, you can use that phrase in the Find field. If you don't have an editor, and you're doing this from scratch, go through the document and enter $$ at each place you need the graphic.

Insert the graphic for the first instance, select the graphic, and press Ctrl-C to copy it to the clipboard. Then press Ctrl-H to open the Find and Replace dialog box. Enter the "placeholder" text (the editor's note or $$) in the Find field, and then enter ^c in the Replace field (the caret sign is over the number 6 at the top of the keyboard, and the "c" must be lower case). Click Replace All. Voila!

Of course, this also works if the replacement material is text.  You simply save text to the clipboard and use that in the Replace field.

End of Article



Reader Comments

You must be a registered user or online subscriber to comment on this article. Please log on before posting a comment. Are you a new visitor? Register now




Top Viewed ArticlesView all articles
Command Prompt Tricks

One reader shares his tip for setting up the command prompt to reflect a remote path. ...

2009 Windows IT Pro Editors' Best and Community Choice Awards

Picking a favorite product from an impressive crowd of competitive offerings is never an easy task, and such was the case with our Editors' Best and Community Choice awards this year. ...

WinInfo Short Takes: Week of November 23, 2009

An often irreverent look at some of the week's other news, including some post-PDC some soul searching, a Google Chrome OS announcement and a Microsoft response, Windows 7 off to a supposedly strong start, the Jonas Brothers and Xbox 360, and so much more ...


Related Events Deep Dive into Windows Server 2008 R2 presented by John Savill

7 Ways To Get More From Your SharePoint Deployment Now

Check out our list of Free Email Newsletters!

Windows OSs eBooks Understanding and Leveraging Code Signing Technologies

A Guide to Windows Certification and Public Keys

SQL Server Administration for Oracle DBAs

Related Windows OSs Resources Introducing Left-Brain.com, the online IT bookstore
Looking for books, CDs, toolkits, eBooks? Prime your mind at Left-Brain.com

Discover Windows IT Pro eLearning Series!
Clear & detailed technical information and helpful how-to's, all in our trademark no-nonsense format


Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro DevProConnections IT Job Hound
Left-Brain.com Technology Resource Directory asp.netPRO ITTV Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 © 2009 Penton Media, Inc. Terms of Use | Privacy Statement