M
Mike Clayton
Hello,
I'm hitting a problem trying to assign the "Default Design" template to
presentations using VBA. If I record a macro and perform the actions manually
(Format -> Slide Design -> Default Design.pot) I get the following code:
Sub Macro1()
ActivePresentation.ApplyTemplate FileName:=""
End Sub
If I then try to run this macro I get the following error:
"Run-time error '-2147188160 (80048240)':
Presentation (unknown member): Invalid request. PowerPoint could not open
the file."
I read elsewhere that the file may actually be called "blank.pot" and could
be stored in my user profile but I searched there and had no joy. Does anyone
know what the correct filename and path for "Default Design.pot" is? Or
whether there is a different way to modify a presentation from VBA so that it
ends up based on the "Default Design" template?
Regards,
Mike
I'm hitting a problem trying to assign the "Default Design" template to
presentations using VBA. If I record a macro and perform the actions manually
(Format -> Slide Design -> Default Design.pot) I get the following code:
Sub Macro1()
ActivePresentation.ApplyTemplate FileName:=""
End Sub
If I then try to run this macro I get the following error:
"Run-time error '-2147188160 (80048240)':
Presentation (unknown member): Invalid request. PowerPoint could not open
the file."
I read elsewhere that the file may actually be called "blank.pot" and could
be stored in my user profile but I searched there and had no joy. Does anyone
know what the correct filename and path for "Default Design.pot" is? Or
whether there is a different way to modify a presentation from VBA so that it
ends up based on the "Default Design" template?
Regards,
Mike