VBA Change Doc Properties

J

John

Hi there,

I've got a presentation that uses a design template with a client name,
which of course shows up in the document properties
(File\Properties\Contents).

Is thee a way I can rename this using vba? I don't want to change the
template, just the name.

Thanks

John
 
S

Shyam Pillai

John,
Type the following line of code in the VBE immediate window will keeping the
presentation active and press <ENTER>.

ActivePresentation.BuiltInDocumentProperties("Template")="Whatever Name you
want"
 
J

John

Thanks for this Shyam. I've tried this and unfortunately it only changes
the Template name on the "Summary" tab, not the "Contents" tab.

I've now got around this by applying a similar template and making the
ncessary changes, but it's a bit of a pain.

I'd still be grateful if you can solve the mystery.

Thanks again for your help.

John
 
Top