Go Back   { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Microsoft > MS Office > PowerPoint

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-24-2008, 10:08 AM
=?Utf-8?B?Zmx5aW5nX3BpZw==?=
 
Posts: n/a
Showing a shape on current slide

This is probably trivial but I can't find the appropriate search criteria to
get the answer. Here is the problem:

I have a small libarary of complex shapes (e.g. fully funtioning virtual
keyboard) and wish to reuse them on selected slides in my interactive
presentation.

I have no problem placing them on a specific slide e.g.

ActivePresentation.Slides(66).Shapes("Keypad").Vis ible = msoTrue

But I can't work out the syntax/method of refering to the current slide
instead of a fixed slide, 66 in this case. I wish to pass the current slide
to the subroutine that shows the "keypad" shape so that it will display on
the current slide (or any alternate better method).
Thanks for any help.

Bob
Reply With Quote
  #2 (permalink)  
Old 07-24-2008, 11:40 AM
=?Utf-8?B?Zmx5aW5nX3BpZw==?=
 
Posts: n/a
RE: Showing a shape on current slide

Thinking about this further I was wondering if the concept of globally
available shapes was not part of PPT and I would therefore have to repeat
them or use a single slide and switch shapes in/out as I need them. I have
done this before but it gets a little confusing when there a 100's of shapes
to control.

"flying_pig" wrote:

> This is probably trivial but I can't find the appropriate search criteria to
> get the answer. Here is the problem:
>
> I have a small libarary of complex shapes (e.g. fully funtioning virtual
> keyboard) and wish to reuse them on selected slides in my interactive
> presentation.
>
> I have no problem placing them on a specific slide e.g.
>
> ActivePresentation.Slides(66).Shapes("Keypad").Vis ible = msoTrue
>
> But I can't work out the syntax/method of refering to the current slide
> instead of a fixed slide, 66 in this case. I wish to pass the current slide
> to the subroutine that shows the "keypad" shape so that it will display on
> the current slide (or any alternate better method).
> Thanks for any help.
>
> Bob

Reply With Quote
  #3 (permalink)  
Old 07-24-2008, 02:32 PM
Austin Myers
 
Posts: n/a
Re: Showing a shape on current slide

> ActivePresentation.Slides(66).Shapes("Keypad").Vis ible = msoTrue

Try SlideShowWindows(1).Shapes("Keypad").Visible=msoTr ue


Austin Myers
Microsoft PowerPoint MVP Team

Creator of PFCPro, PFCMedia and PFCExpress
http://www.playsforcertain.com



Reply With Quote
  #4 (permalink)  
Old 07-24-2008, 02:33 PM
Austin Myers
 
Posts: n/a
Re: Showing a shape on current slide

One thing that would be a big help is to have the object model
documentation. Go to the MS web site and do a search for "vbapp10.chm". I
think you find it very helpful.



Austin Myers
Microsoft PowerPoint MVP Team

Creator of PFCPro, PFCMedia and PFCExpress
http://www.playsforcertain.com


"flying_pig" <flyingpig@discussions.microsoft.com> wrote in message
news:4673D8DE-DCD2-4D2D-9985-CE685075E455@microsoft.com...
> This is probably trivial but I can't find the appropriate search criteria
> to
> get the answer. Here is the problem:
>
> I have a small libarary of complex shapes (e.g. fully funtioning virtual
> keyboard) and wish to reuse them on selected slides in my interactive
> presentation.
>
> I have no problem placing them on a specific slide e.g.
>
> ActivePresentation.Slides(66).Shapes("Keypad").Vis ible = msoTrue
>
> But I can't work out the syntax/method of refering to the current slide
> instead of a fixed slide, 66 in this case. I wish to pass the current
> slide
> to the subroutine that shows the "keypad" shape so that it will display on
> the current slide (or any alternate better method).
> Thanks for any help.
>
> Bob



Reply With Quote
  #5 (permalink)  
Old 07-24-2008, 02:45 PM
Steve Rindsberg
 
Posts: n/a
Re: Showing a shape on current slide

In article <FCB445C0-7484-478D-B1EC-6989D0B8184F@microsoft.com>, Flying pig
wrote:
> Thinking about this further I was wondering if the concept of globally
> available shapes was not part of PPT and I would therefore have to repeat
> them or use a single slide and switch shapes in/out as I need them. I have
> done this before but it gets a little confusing when there a 100's of shapes
> to control.


I think you've probably hit on it there. There are no global shapes as such, but
you might be able to put the shape you want on a slide master. Then it'd be
visible on any slide based on that master.

For code to return the current slide:
http://skp.mvps.org/ppt00030.htm

>
> "flying_pig" wrote:
>
> > This is probably trivial but I can't find the appropriate search criteria to
> > get the answer. Here is the problem:
> >
> > I have a small libarary of complex shapes (e.g. fully funtioning virtual
> > keyboard) and wish to reuse them on selected slides in my interactive
> > presentation.
> >
> > I have no problem placing them on a specific slide e.g.
> >
> > ActivePresentation.Slides(66).Shapes("Keypad").Vis ible = msoTrue
> >
> > But I can't work out the syntax/method of refering to the current slide
> > instead of a fixed slide, 66 in this case. I wish to pass the current slide
> > to the subroutine that shows the "keypad" shape so that it will display on
> > the current slide (or any alternate better method).
> > Thanks for any help.
> >
> > Bob

>


-----------------------------------------
Steve Rindsberg, PPT MVP
PPT FAQ: www.pptfaq.com
PPTools: www.pptools.com
================================================
Live and in personable in the Help Center at PowerPoint Live
Sept 21-24, San Diego CA, USA
www.pptlive.com

Reply With Quote
  #6 (permalink)  
Old 07-24-2008, 05:01 PM
David M. Marcovitz
 
Posts: n/a
Re: Showing a shape on current slide

ActivePresentation.SlideShowWindow.View.Slide gives you the current
slide, so you are looking for:

ActivePresentation.SlideShowWindow.View.Slide.Shap es("Keypad").Visible =
msoTrue

--David

--
David M. Marcovitz
Microsoft PowerPoint MVP
Author of _Powerful PowerPoint for Educators_
http://www.PowerfulPowerPoint.com/

=?Utf-8?B?Zmx5aW5nX3BpZw==?= <flyingpig@discussions.microsoft.com> wrote
in news:4673D8DE-DCD2-4D2D-9985-CE685075E455@microsoft.com:

> This is probably trivial but I can't find the appropriate search
> criteria to get the answer. Here is the problem:
>
> I have a small libarary of complex shapes (e.g. fully funtioning
> virtual keyboard) and wish to reuse them on selected slides in my
> interactive presentation.
>
> I have no problem placing them on a specific slide e.g.
>
> ActivePresentation.Slides(66).Shapes("Keypad").Vis ible = msoTrue
>
> But I can't work out the syntax/method of refering to the current
> slide instead of a fixed slide, 66 in this case. I wish to pass the
> current slide to the subroutine that shows the "keypad" shape so that
> it will display on the current slide (or any alternate better method).
> Thanks for any help.
>
> Bob


Reply With Quote
  #7 (permalink)  
Old 07-24-2008, 11:15 PM
=?Utf-8?B?Zmx5aW5nX3BpZw==?=
 
Posts: n/a
Re: Showing a shape on current slide

Steve et al,

Thanks for your help, I have the correct syntax now but I am spending a bit
of time on the design approach that may obviate the need. I have done a
similar presentation that appears to be a multiple slide slideshow but in
fact all done on a single slide making shape managment a little simpler.

"Steve Rindsberg" wrote:

> In article <FCB445C0-7484-478D-B1EC-6989D0B8184F@microsoft.com>, Flying pig
> wrote:
> > Thinking about this further I was wondering if the concept of globally
> > available shapes was not part of PPT and I would therefore have to repeat
> > them or use a single slide and switch shapes in/out as I need them. I have
> > done this before but it gets a little confusing when there a 100's of shapes
> > to control.

>
> I think you've probably hit on it there. There are no global shapes as such, but
> you might be able to put the shape you want on a slide master. Then it'd be
> visible on any slide based on that master.
>
> For code to return the current slide:
> http://skp.mvps.org/ppt00030.htm
>
> >
> > "flying_pig" wrote:
> >
> > > This is probably trivial but I can't find the appropriate search criteria to
> > > get the answer. Here is the problem:
> > >
> > > I have a small libarary of complex shapes (e.g. fully funtioning virtual
> > > keyboard) and wish to reuse them on selected slides in my interactive
> > > presentation.
> > >
> > > I have no problem placing them on a specific slide e.g.
> > >
> > > ActivePresentation.Slides(66).Shapes("Keypad").Vis ible = msoTrue
> > >
> > > But I can't work out the syntax/method of refering to the current slide
> > > instead of a fixed slide, 66 in this case. I wish to pass the current slide
> > > to the subroutine that shows the "keypad" shape so that it will display on
> > > the current slide (or any alternate better method).
> > > Thanks for any help.
> > >
> > > Bob

> >

>
> -----------------------------------------
> Steve Rindsberg, PPT MVP
> PPT FAQ: www.pptfaq.com
> PPTools: www.pptools.com
> ================================================
> Live and in personable in the Help Center at PowerPoint Live
> Sept 21-24, San Diego CA, USA
> www.pptlive.com
>
>

Reply With Quote
Reply

  { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Microsoft > MS Office > PowerPoint


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 06:39 AM.


Powered by vBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
© 1999-2008 mindfrost82.com v11.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109