Log in

View Full Version : PP and Doc Properties (2007)



Paul_Hossler
10-29-2010, 02:38 PM
Is there any way a slide can 'pick up' the current value of a document property and update slides?

I can do it in VBA I'm sure, but that would 'hard code' the property as of the time I ran the macro.

For example, in the property "Status" I'd put (say) "Preliminary" and on the slides and/or Master a text box or place holder would update with the property value ( = "Preliminary")

Word has bookmarks and fields and content controls, but I was wondering if PP has something similar.

Doing a global find and replace just doesn't seem like the best way either

Paul

mbm123
12-07-2010, 12:34 AM
I reckon it's not possible using VBA but i might be mistaken

Cosmo
12-07-2010, 06:12 AM
Is there any way a slide can 'pick up' the current value of a document property and update slides?

I can do it in VBA I'm sure, but that would 'hard code' the property as of the time I ran the macro.

For example, in the property "Status" I'd put (say) "Preliminary" and on the slides and/or Master a text box or place holder would update with the property value ( = "Preliminary")

Word has bookmarks and fields and content controls, but I was wondering if PP has something similar.

Doing a global find and replace just doesn't seem like the best way either

Paul
The closest I believe you can come is to link the content in a text box to a custom property, but you can only link the property to a single text box, and you can't edit the property in the properties list - you have to edit it in the text box. So this proably doesn't help in the situation you are describing.

I needed to do something similar years ago (I had a client who wanted to be able to allow their salespeople to easily put an account name in a few places in a presentation) and that's what got me into VBA.

Paul_Hossler
12-07-2010, 06:21 AM
The closest I believe you can come is to link the content in a text box to a custom property, but you can only link the property to a single text box, and you can't edit the property in the properties list - you have to edit it in the text box. So this proably doesn't help in the situation you are describing.


Can you expand on this a little? I think I agree that it's not a great solution, but I'd like to investiagate it a little more

Thanks

Paul

Cosmo
12-07-2010, 06:37 AM
Can you expand on this a little? I think I agree that it's not a great solution, but I'd like to investiagate it a little more

Thanks

Paul
Select a text box, and go to the 'Custom Properties' panel. There will be a checkbox enabled 'Link to content' (It's only enabled if you have a selection). If you check this, the value of the property will be the value of the textbox (But you won't be able to edit it in the properties dialog). If you select multiple text boxes, the value will be the value of all of the text boxes (I believe delimited with a carriage return)

John Wilson
12-07-2010, 08:51 AM
Paul. If you explain exactly what you want to happen (and when) I'll have someone here look at it. At worst we can confirm it's impossible.

PowerPoint Alchemy - "Impossible projects may take longer"

Paul_Hossler
12-07-2010, 01:17 PM
Paul. If you explain exactly what you want to happen (and when) I'll have someone here look at it. At worst we can confirm it's impossible.


John -- thanks VERY much.

It sort of sounds like PP doesn't have the intrinsic capability to use something like Word's ContentControls or Fields, but maybe you can suggest a workaround

I've attached a small file to try and show what I was thinking (just remove the .zip part)

Thanks again

Paul

John Wilson
12-07-2010, 03:04 PM
Actually I think that is impossible but i will pass it around our experts.

Paul_Hossler
12-07-2010, 03:25 PM
Actually I think that is impossible but i will pass it around our experts.

Thanks - appreciate the time and effort


Paul