Article ID: 161663 - Last Review: October 11, 2006 - Revision: 1.2

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

This article was previously published under Q161663
Expand all | Collapse all

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.

APPLIES TO
  • Microsoft PowerPoint 97 Standard Edition
Keywords: 
kbbug kbpending kbprogramming KB161663
Retired KB ArticleRetired KB Content Disclaimer
This article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.
 

Article Translations