更新时间:2023-02-14 08:12:25
我认为,您应该将Untitled
参数(Open
方法)设置为true,以打开模板文件.
In my opinion, you should open your template file with the Untitled
parameter (Open
method) set to true.
objPPT.Presentations.Open FileName:="MyTemplate Macro.potm", Untitled:=msoTrue
根据 Presentations.Open方法(PowerPoint) ,
打开不带标题的文件.这等效于创建副本 文件.
Opens the file without a title. This is equivalent to creating a copy of the file.