Thanks advance!
swje
2007/8/3
:
Thank you Steve, we develop a program to manage the powerpoint file,
just as you suggested method: store the company name as a tag in a
presentation or in document properties; your code could search for e.g.
@COMPANY@ in the text in your presentation and replace it with the name from
properties.
Our Powerpoint file may like this: Company name: @ABC@. ABC can change by
code, tag property may not work,it can't display;
You wouldn't display the tag, just use it as a source of data.
is any more document
property information for me. I find a VBA example:
Application.ActivePresentation.CustomDocumentProperties _
.Add Name:="Complete", LinkToContent:=False, _
Type:=msoPropertyTypeBoolean, Value:=False
in c#, CustomDocumentProperties doesn't has the Add method. Is there any
other properties
can serve this function.
Thanks for your help!
:
Thank you, Steve.
my thing is like this,eg: a compnay name is exist in a ppt file many times,
when I modify it in one place, all the name can changed together. the name
need to save
in a object and can be programable control.
I'm not sure exactly what you mean by object in this case. Can you explain more?
Where would the program code be running? In an add-in within PowerPoint itself or
somewhere else?
You could store the company name as a tag in a presentation or in document
properties; your code could search for e.g. @COMPANY@ in the text in your
presentation and replace it with the name from properties.
Thanks
:
Is the a powerpoint object can save some comman content,
when I change the content outside, can programbaly change all the object
content
in a powerpoint file?
If you have content linked from, say, Excel to PPT, then when you change the
source Excel worksheet, the PPT content will update when you open the PPT next
time.
Is that the kind of thing you're after?
-----------------------------------------
Steve Rindsberg, PPT MVP
PPT FAQ:
www.pptfaq.com
PPTools:
www.pptools.com
================================================
-----------------------------------------
Steve Rindsberg, PPT MVP
PPT FAQ:
www.pptfaq.com
PPTools:
www.pptools.com
================================================
-----------------------------------------
Steve Rindsberg, PPT MVP
PPT FAQ:
www.pptfaq.com
PPTools:
www.pptools.com
================================================