PPT97: Macro Recorder Doesn't Record Find or Replace Commands (161663)



The information in this article applies to:

  • Microsoft PowerPoint 97 for Windows

This article was previously published under Q161663

SYMPTOMS

If you click either Find or Replace on the Edit menu while recording a macro, your finished macro does not include any code to find or replace text. For example, if you start Macro Recorder, click on the title of a slide, and then use the Replace command to replace the word Cat with the word Dog, the resulting macro selects only the title of your slide.

CAUSE

The PowerPoint Macro Recorder does not record mouse clicks or keyboard commands. Instead, it translates your actions into the nearest Visual Basic for Applications equivalent. While the PowerPoint object model does include Find and Replace methods, they do not work the same way as the Find and Replace commands on the Edit menu.

RESOLUTION

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article.

Modification Type:MinorLast Reviewed:10/11/2006
Keywords:kbbug kbpending kbProgramming KB161663