Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General PowerPoint Questions / August 2006

Tip: Looking for answers? Try searching our database.

Name a Power Point slide to reference in code - not slide number

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
mross01 - 18 Aug 2006 18:46 GMT
I create presentations from individual slides and I want to be able to
reference a slide by name (in code) instead of a slide number is there way to
do this.

I am trying to create help context (custom pane) specific to a Power Point
slide and I will not know the order the slides are in.  Example:  Another
user pulls slides from a collection of prebuilt slides and I want to offer
help in the Custom Help Pane for that Slide.  If I had an ID I could use, I
would be able to pull that help context from a XML file (or whatever format)
for that slide and present it to the user.

Any suggestions?
David M. Marcovitz - 18 Aug 2006 19:28 GMT
Example 8.7 on my site has procedures for naming shapes and slides:

http://www.PowerfulPowerPoint.com/

Click on "Examples by Chapter" and "Chapter 8."

--David

Signature

David M. Marcovitz
Microsoft PowerPoint MVP
Director of Graduate Programs in Educational Technology
Loyola College in Maryland
Author of _Powerful PowerPoint for Educators_
http://www.PowerfulPowerPoint.com/

> I create presentations from individual slides and I want to be able to
> reference a slide by name (in code) instead of a slide number is there
[quoted text clipped - 9 lines]
>
> Any suggestions?
mross01 - 18 Aug 2006 19:46 GMT
I need to name the template slide when the slide is created, by the user.  
Then I need to use that name in code to retrieve other files associated with
that ID.

> Example 8.7 on my site has procedures for naming shapes and slides:
>
[quoted text clipped - 17 lines]
> >
> > Any suggestions?
David M. Marcovitz - 18 Aug 2006 19:58 GMT
Is the user creating a slide via automation or via standard PowerPoint?
If it is via automation, you can always set the slide's Name property. If
they are using standard PowerPoint, either the user will have to use the
macro (probably not a good plan), or you will have to have some kind of
an add-in loaded on the user's machine that does some naming
automatically.
--David

Signature

David M. Marcovitz
Microsoft PowerPoint MVP
Director of Graduate Programs in Educational Technology
Loyola College in Maryland
Author of _Powerful PowerPoint for Educators_
http://www.PowerfulPowerPoint.com/

> I need to name the template slide when the slide is created, by the
> user.  Then I need to use that name in code to retrieve other files
[quoted text clipped - 23 lines]
>> >
>> > Any suggestions?
mross01 - 18 Aug 2006 20:07 GMT
The users create slides that are saved on a server.  We have a program (third
party) that asks questions and then combines the slides into one presentation
based on answers given.  Once that presentation is created it is downloaded
for customization.  Once the user is customizing it I need to be able to know
what slide they are on and go pull content files for customizing the Help
Pane.

> Is the user creating a slide via automation or via standard PowerPoint?
> If it is via automation, you can always set the slide's Name property. If
[quoted text clipped - 31 lines]
> >> >
> >> > Any suggestions?
David M. Marcovitz - 18 Aug 2006 20:16 GMT
So it seems to me that the name would take place automatically in the
third-party software that combines the slides. Is that a possibility?
--David

Signature

David M. Marcovitz
Microsoft PowerPoint MVP
Director of Graduate Programs in Educational Technology
Loyola College in Maryland
Author of _Powerful PowerPoint for Educators_
http://www.PowerfulPowerPoint.com/

> The users create slides that are saved on a server.  We have a program
> (third party) that asks questions and then combines the slides into
[quoted text clipped - 39 lines]
>> >> >
>> >> > Any suggestions?
mross01 - 18 Aug 2006 20:27 GMT
No that would not be, but that wouldnt help me anyway.  The content files
will have to be created with something I can map the original slide ID back
to.  If the ID was created on the fly I would not be able to link to the
content files.  I need the users (the slide creaters) to be able to apply a
name to the slide at creation time.  I was hoping there was some setting
somewhere in Power Point that I can not find that would allow them to do so.

> So it seems to me that the name would take place automatically in the
> third-party software that combines the slides. Is that a possibility?
[quoted text clipped - 43 lines]
> >> >> >
> >> >> > Any suggestions?
David M. Marcovitz - 18 Aug 2006 20:34 GMT
There are file properties that the user can manipulate easily, but I
think that anything that involves naming a slide has to be done with a
macro. As long as you could get all the users to load an add-in, you
could put the macro in an add-in and make it relatively easy for the
users to do.
--David

Signature

David M. Marcovitz
Microsoft PowerPoint MVP
Director of Graduate Programs in Educational Technology
Loyola College in Maryland
Author of _Powerful PowerPoint for Educators_
http://www.PowerfulPowerPoint.com/

> No that would not be, but that wouldnt help me anyway.  The content
> files will have to be created with something I can map the original
[quoted text clipped - 52 lines]
>> >> >> >
>> >> >> > Any suggestions?
mross01 - 18 Aug 2006 20:42 GMT
Would that property be static at that point.  Meaning they create the slide
and save it.  Then when the third party program was to pull the slides the
name would still be there for me to reference.  There is no continuation of
the process meaning all programming state is lost.

> There are file properties that the user can manipulate easily, but I
> think that anything that involves naming a slide has to be done with a
[quoted text clipped - 59 lines]
> >> >> >> >
> >> >> >> > Any suggestions?
David M. Marcovitz - 18 Aug 2006 20:47 GMT
Yes, the slide's .Name property should hang around after the programming
is done.
--David

Signature

David M. Marcovitz
Microsoft PowerPoint MVP
Director of Graduate Programs in Educational Technology
Loyola College in Maryland
Author of _Powerful PowerPoint for Educators_
http://www.PowerfulPowerPoint.com/

> Would that property be static at that point.  Meaning they create the
> slide and save it.  Then when the third party program was to pull the
[quoted text clipped - 64 lines]
>> >> >> >> >
>> >> >> >> > Any suggestions?
mross01 - 18 Aug 2006 20:58 GMT
Interesting.  Wonder why MS does not have that as a property for the slide
that the user can set without having to use a macro.  Do you know if that
setting may be in 2007?

> Yes, the slide's .Name property should hang around after the programming
> is done.
[quoted text clipped - 68 lines]
> >> >> >> >> >
> >> >> >> >> > Any suggestions?
David M. Marcovitz - 18 Aug 2006 21:23 GMT
Sorry, I haven't ventured into 2007 beta testing (no access to a spare
machine and no access to that much spare time). Maybe someone else can
answer about 2007.
--David

Signature

David M. Marcovitz
Microsoft PowerPoint MVP
Director of Graduate Programs in Educational Technology
Loyola College in Maryland
Author of _Powerful PowerPoint for Educators_
http://www.PowerfulPowerPoint.com/

> Interesting.  Wonder why MS does not have that as a property for the
> slide that the user can set without having to use a macro.  Do you
[quoted text clipped - 3 lines]
>> programming is done.
>> --David
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.