Slide.ChangeMaster example?


Can anyone give - or point me to - an example of how to use the Slide.ChangeMaster() method? I want to load a slide from one presentation, apply a master from another presentation and save the newlyu created slide as a new presentation. That is a job for the ChangeMaster() method, right?

Thanks in advance!