I would like to automate PowerPoint Addin, which created other side. I program in C# and I have Microsoft Office 2010.
To control PowerPoint for me, it's not a problem. For example this code opens dialog to choose file.
PowerPoint.Application objApp;
objApp = new PowerPoint.Application();
objApp.Visible = MsoTriState.msoTrue;
objApp.CommandBars.FindControl(missing, 23, missing, missing).Execute();
I've found source to access ShowBar IDs, but there aren't IDs of Addin. After that I realized it's a Ribbon Addin, but I dont know how can I access the IDs and execute it. I've read lot of articles about Ribbon, but still I didn't get it, how it works. Can somebody help me and explain, what I should do.
Thank you for your time.