How can we run a pre-written macro in multiple power point files? Is there any way I can automatically embed a Macro in ALL Powerpoint documents

I have created a macro in PowerPoint and I want to run the same for multiple power point files. Is there any activity that can run/execute macro in power point? Or open PPT and run a pre-written macro in multiple ppt files?

No activity as such for Powerpoint (unless someone made a custom one) but a workaround could be using sendhotkeys if the developer ribbon is visible

or using an Autoit Script

But no direct functionality as such

Hi @nishakankaria , did you find a solution for the same?

Hi @neonova, Could you please help me out with this procedure in a more detailed way? Would be of great help!


Hello Syeda,
In this video, I have multiple use cases of UiPath working with POWERPOINT via VB.NET:

1:10​ Install NuGet Package for automation
4:00​ Use-Case 1 Add a new slide and add a picture
8:20​ Add Chart
10:35​ Add a text with shadow
12:30​ Perform a slideshow
15:00​ Delete slide and Export to PDF
17:30​ Working with comments (Add, Read, Delete)
19:50​ Create a complex PowerPoint from 0


Cristian Negulescu