I'm having a hard time believing this isn't a command directly in Powerpoint, seeing as the one thing I hear more than anything is "can you send me just that slide?". But MS isn't exactly known for efficiency or catering to actual needs of the users. So I set about to scripting.
This one works:
--create new presentation with selected slides
tell application "Microsoft PowerPoint"
activate copy object slide range of selection of active window set newPresentation to make new presentation paste object newPresentation
--then save it
tell application "System Events"
tell process "Microsoft Powerpoint" keystroke "S" using command down end tell
There's only one more thing I'd like to do... paste using "Keep Source Formatting" so that the master styles are intact. I've tried many things trying to invoke the special paste option, but nothing works. I even added the "Keep Source Formatting" to the both the Ribbon and the Quick Access Toolbar and tried to invoke it as a menu item, but Applescript does not recognize either from what I've tried. Any ideas? (BTW, feel free to copy and use the script, because it works fine, just doesn't preserve any formatting).