Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

inserting a custom document property to a Powerpoint presentation

2,378 views
Skip to first unread message

iris

unread,
Apr 6, 2010, 8:33:01 AM4/6/10
to
Hello everybody,

I need to insert a custom document property to a footer of a powerpoint
presentation with VBA. What code do I need to use?

The property is :

Activepresentation.customdocument.value=Mispar

thank you,

Iris

van Loon@discussions.microsoft.com Arnold van Loon

unread,
Apr 26, 2010, 5:50:01 AM4/26/10
to
Hi Iris,

I never found an easy way to accomplish that in Powerpoint so i use the
following method:

name the footer control
- go to slidemaster
- select control
- in VBA immediate window: activewindow.selection.shaperange.name = "myName"

in VBA you can now refer to the shape by name:
example:
activepresentation.titlemaster.shapes("myName").textframe.textrange =
activepresentation.customdocumentproperties("Mispar").value

gr
Arnold

0 new messages