I have some code that I execute when a slide show presentation begins but because it takes some time, I want to create a button in a Powerpoint toolbar to execute this code.
So, I click on the button and after that I want to happear a progress bar!
How can I use vba to create a new button in a Powerpoint toolbar and how can I make a progress bar when I click on it?
Oh, at the end of the progress bar I want to execute the slide show.
How can I do that as well?
Thanks in advance!
1.
Try this code:
2.
I would suggest creating UserForm with ProgressBar control on it.
3.
try this to begin slide show [source]:
Additionally:
there is no equivalent of PERSONAL (from Excel) in PowerPoint , only place for storing code is presentation itself, so you need open presentation before executing any code.