powerpoint2016

How do you run vba code when changing slides in powerpoint?

孤街醉人 提交于 2020-08-10 19:53:40
问题 I'm trying to reset the contents of some text boxes and labels when I change slides, but I'm struggling to get it to work. I've come up with this after doing a lot of googling and searching, but it doesn't seem to work. I'm trying to use the OnSlideShowPageChange event in PowerPoint 2013 and 2016, but it seems to have no effect. I'm not used to working with PowerPoint vba, so I might be doing something completely wrong. Edit: I've managed to find an alternative method of resetting the label