DEV Community

Oscar Sun(孫守真字任真)
Oscar Sun(孫守真字任真)

Posted on

Answer: VBA script to save us presentation

Just like John Korchok said,

GetSaveAsFileName is an Excel method, not PowerPoint.

If you have to use this method, then you should initiate a Excel app instance before to invoke this mothed, so your code should be like this instead, and you'll no longer to see

an error in the…

Top comments (0)