Can You Add a PowerPoint Cameo Object Using VBA?
Question details
The user wants to know if a Cameo object or placeholder can be dynamically added to a PowerPoint slide using Excel or PowerPoint VBA macros.

- Product
- Microsoft PowerPoint
- Device & OS
- not provided
- Scenario
- Automating PowerPoint slide creation or modification during presentations using VBA.
- Observed behavior
- The required method to add a Cameo object does not appear in the PowerPoint VBA object model, preventing developers from scripting its insertion.
Before attempting to script Cameo objects, open your VBA editor (ALT + F11) and ensure you are referencing the latest Microsoft PowerPoint Object Library (Tools > References) to check for newly supported methods.
Understanding Current VBA Limitations with Cameo
Currently, Microsoft does not expose the Cameo object to the PowerPoint VBA object model, meaning it cannot be inserted programmatically.
As of now, the PowerPoint VBA object model does not include a native method to programmatically add a Cameo object or placeholder. VBA developers cannot bypass this limitation by forcing unsupported object-model commands into their scripts.
To determine if support has been added in future Microsoft 365 updates, developers must regularly monitor official documentation, specifically looking at the Shapes.Add methods and the MsoShapeType enumeration.
Press ALT + F11 while in PowerPoint to open the Visual Basic for Applications editor.
Press F2 to open the Object Browser window within the VBA editor.
In the search bar of the Object Browser, type 'Cameo' to confirm if any new classes or members have been added in your specific version of Office.
Search for 'MsoShapeType' to see the list of supported shapes. Until Microsoft officially adds a specific constant for Cameo, programmatic insertion will remain unsupported.

Try WPS Office for Your Presentation Needs
While specific Microsoft VBA features like Cameo may be restricted by system limitations, WPS Office provides a robust, lightweight, and completely free alternative for creating professional presentations. It offers exceptional compatibility with Office files and a highly familiar interface.
- 1. Download WPS Office: Visit the official WPS Office website and download the free installation package for your operating system.
- 2. Install the Software: Run the downloaded installer and follow the simple on-screen instructions to complete the setup.
- 3. Open Your Presentation: Launch WPS Presentation and open your existing .pptx files directly to continue your work seamlessly.

Frequently Asked Questions
What is a Cameo object in PowerPoint?
Cameo is a feature in Microsoft PowerPoint that allows users to seamlessly integrate a live camera feed directly onto a slide, applying formatting, styles, and transitions just like a standard picture or shape.
Will VBA support for Cameo be added in the future?
Microsoft periodically updates the Office VBA object model. While Cameo is currently unsupported, developers should monitor official Microsoft 365 release notes and developer documentation for future capability updates.
Can I use Office Scripts instead of VBA to add Cameo?
Currently, neither VBA nor Office Scripts support the programmatic insertion of Cameo objects in PowerPoint. Manual insertion remains the only officially supported method.
Is there a workaround to automate Cameo slides for a presentation?
Yes. You can create a master template slide that already contains a manually inserted Cameo object. You can then use VBA macros to duplicate or display this pre-configured slide precisely when needed during your presentation.




