Macro using F n' R in Word?

Subject: Macro using F n' R in Word?
From: "Hart, Geoff" <Geoff-H -at- MTL -dot- FERIC -dot- CA>
To: "TECHWR-L" <techwr-l -at- lists -dot- raycomm -dot- com>
Date: Mon, 30 Sep 2002 16:27:36 -0400


Justin Ressler wonders: <<Is it possible to use a macro with Find and
Replace? If so, how do I go about doing it?>>

If you're willing to learn VBA programming, that's one way, but by far the
easiest way to include a macro is to _record_ it. Start recording a macro,
then do the search and replace just the way you'd ordinarily do it, then
stop recording once the search and replace is complete. Now all you have to
do is open the macro you just recorded and make any necessary changes (e.g.,
the search keywords).

Given how unpredictable VBA can be in its behavior, and its sometimes
adversarial relationship with Microsoft's published documentation on how the
code is supposed to work, I find this approach much easier on the nerves
than trying to learn yet another language. (I'm actually having more luck
learning Mandarin than I did in my brief flirtation with VBA.)

--Geoff Hart, geoff-h -at- mtl -dot- feric -dot- ca
Forest Engineering Research Institute of Canada
580 boul. St-Jean
Pointe-Claire, Que., H9R 3J9 Canada
"User's advocate" online monthly at
www.raycomm.com/techwhirl/usersadvocate.html

"With Linux, customers end up being in the operating systems business,
managing software updates and security patches while making sure the
multitude of software packages don't conflict with each other."--Microsoft
spokesperson in a News.com article

"And just how would that be different from Windows?"--Adam Engst, TidBITS


^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Experience RoboHelp X3! This new RoboHelp release combines single sourcing,
print-quality documentation, conditional text and much more, into the most
monumental release of RoboHelp ever! http://www.ehelp.com/techwr-l

FrameMaker-to-PDF TimeSavers Assistants let you enhance & automate navigation
in PDF doc sets (chapter tabs, next/prev chapter/pg, bookmarks, popup menus);
create interactive PDF forms, rollover popups; presentations: http://www.microtype.com

---
You are currently subscribed to techwr-l as:
archive -at- raycomm -dot- com
To unsubscribe send a blank email to leave-techwr-l-obscured -at- lists -dot- raycomm -dot- com
Send administrative questions to ejray -at- raycomm -dot- com -dot- Visit
http://www.raycomm.com/techwhirl/ for more resources and info.



Previous by Author: Tools: Index problems in PageMaker
Next by Author: Annotation and Collection of Annotation
Previous by Thread: RE: Macro using F n' R in Word.
Next by Thread: Want to talk about STC?


What this post helpful? Share it with friends and colleagues:


Sponsored Ads