Creating macros for searching text or codes

WordPerfect provides a macro with searching capabilities by recording a search in a macro. WordPerfect lets you use all of its find and replace functionality when you are searching in a macro. For more information about Find and Replace features, see “Finding and replacing text and codes.”


To create a macro for searching text or codes

WordPerfect Office btnbacktotopproc Creating macros for searching text or codes
1.
 
In the edit view of the macro, click where you want the search to begin.
2.
 
Click Tools WordPerfect Office onestep Creating macros for searching text or codes Macro WordPerfect Office onestep Creating macros for searching text or codes Record.
3.
 
Type a name for the macro in the Filename box.
4.
 
Click Record.
5.
 
Click Edit WordPerfect Office onestep Creating macros for searching text or codes Find and replace.
6.
 
In the Find box, type the text for which you want to search.
7.
 
In the Replace box, type the text with which you want to replace the found item.
8.
 
Click Replace all.
9.
 
Click Tools WordPerfect Office onestep Creating macros for searching text or codes Macro WordPerfect Office onestep Creating macros for searching text or codes Record.

You can also
Search for codes
In the Find box, click Match WordPerfect Office onestep Creating macros for searching text or codes Codes, and insert the codes for which you want to search from the Codes dialog box.
Replace codes
In the Replace box, click Replace WordPerfect Office onestep Creating macros for searching text or codes Codes, and insert the codes that you want to use from the Codes dialog box.

Creating macros for searching text or codes