PPT97: Macro Recorder Doesn't Record Activating Placeholder

Last reviewed: December 2, 1997
Article ID: Q160252
The information in this article applies to:
  • Microsoft PowerPoint 97 for Windows

SYMPTOMS

If you record a macro that includes inserting an OLE object by double- clicking an object placeholder, Macro Recorder includes only the code for selecting and then deselecting the placeholder.

CAUSE

Until they are activated for the first time, OLE object placeholders behave the same as shapes created by the PowerPoint drawing tools. The PowerPoint Object Model does not include a method to convert a drawn shape to an OLE Object.

RESOLUTION

Your macro contains the correct code to add an OLE object if you use one of the following methods to add the OLE object while recording the macro.

Method 1: Use the Buttons on the Toolbar to Insert the OLE Object

There are buttons on the Standard toolbar to insert Microsoft Word Tables, Microsoft Excel Worksheets, Charts, and Clip Art objects.

Method 2: Use the Insert Object Command

  1. On the Insert menu, click Object.

  2. Click the type of object you want on the Object Type list.

  3. Click OK to insert the object.

Both of these methods work because they only add an OLE object to your slide; they do not convert an existing drawing object to an OLE object.

STATUS

Microsoft has confirmed this to be a problem in Microsoft PowerPoint 97 for Windows. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.


Additional query words: 97 8.00 ppt8 ppt8.0 kbmacro MR object model
generic place-holder auto-layout auto layout activate embed embedding
linking kbcode
Keywords : kbprg kbpptvba
Version : WINDOWS:97
Platform : WINDOWS
Issue type : kbbug
Solution Type : kbpending


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: December 2, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.