PC Review


Reply
Thread Tools Rate Thread

Changing an image while in PPS show

 
 
kimkom
Guest
Posts: n/a
 
      7th Nov 2008
Hi all,

I am looking for a neat solution to change an image while in a PPS show.

For instance, if I have 5 different images and each of them display
depending on which option box (or maybe an item in dropdown list) is checked
how do I go about it?

Any suggestions would be gratefully received.

Many thanks,
Michael
 
Reply With Quote
 
 
 
 
kimkom
Guest
Posts: n/a
 
      10th Nov 2008
Thank you Steve, that makes sense.

Michael

"Steve Rindsberg" wrote:

> In article <55CD7CAC-600C-4653-A5B6-(E-Mail Removed)>, Kimkom wrote:
> > Hi all,
> >
> > I am looking for a neat solution to change an image while in a PPS show.
> >
> > For instance, if I have 5 different images and each of them display
> > depending on which option box (or maybe an item in dropdown list) is checked
> > how do I go about it?

>
> In the option box's change event, include code to make the appropriate image
> visible (and the others invisible).
>
> Something like:
>
> With ActivePresentation.Slides(x) ' where x is the slide index
> ' assumes you've already named each of the pictures:
> .Shapes("Picture1").Visible = True
> .Shapes("Picture2").Visible = True
> .Shapes("Picture3").Visible = True
> ' etc
> End With
>
>
>
> -----------------------------------------
> Steve Rindsberg, PPT MVP
> PPT FAQ: www.pptfaq.com
> PPTools: www.pptools.com
> ================================================
>
>
>

 
Reply With Quote
 
kimkom
Guest
Posts: n/a
 
      10th Nov 2008
Steve, your example makes sense to me, I just don't know how to implement that.

I've created my ListBox and populated it as such:


Sub AddItemsToSelectedListBox()

Dim oShape As Shape
Set oShape = ActiveWindow.Selection.ShapeRange(1)

With oShape.OLEFormat.Object
.Clear
.AddItem ("FORMATION 01")
.AddItem ("FORMATION 02")
.AddItem ("FORMATION 03")
.AddItem ("FORMATION 04")
.AddItem ("FORMATION 05")
End With

End Sub


Can somebody please tell me how to go about changing an image depending on
which item is selected in the list? I'm guessing I need a 'Private Sub
ListBox1_change' handler?

Thanks,
Michael

"kimkom" wrote:

> Thank you Steve, that makes sense.
>
> Michael
>
> "Steve Rindsberg" wrote:
>
> > In article <55CD7CAC-600C-4653-A5B6-(E-Mail Removed)>, Kimkom wrote:
> > > Hi all,
> > >
> > > I am looking for a neat solution to change an image while in a PPS show.
> > >
> > > For instance, if I have 5 different images and each of them display
> > > depending on which option box (or maybe an item in dropdown list) is checked
> > > how do I go about it?

> >
> > In the option box's change event, include code to make the appropriate image
> > visible (and the others invisible).
> >
> > Something like:
> >
> > With ActivePresentation.Slides(x) ' where x is the slide index
> > ' assumes you've already named each of the pictures:
> > .Shapes("Picture1").Visible = True
> > .Shapes("Picture2").Visible = True
> > .Shapes("Picture3").Visible = True
> > ' etc
> > End With
> >
> >
> >
> > -----------------------------------------
> > Steve Rindsberg, PPT MVP
> > PPT FAQ: www.pptfaq.com
> > PPTools: www.pptools.com
> > ================================================
> >
> >
> >

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Document Image Processing (DIP) - changing image file names ALcom Microsoft Word Document Management 0 10th Mar 2006 12:47 PM
Document Image Processing (DIP) - changing image file names ALcom Microsoft Outlook Fax 0 10th Mar 2006 12:40 PM
mouse over image to show bigger image on the same page =?Utf-8?B?U2Fzc3NpZUNK?= Microsoft Frontpage 5 3rd Jan 2006 11:38 AM
Changing image on Image control in Form running Access 2002 Runtime John Cosmas Microsoft Access 1 9th Feb 2004 02:00 PM
Changing image on Image control in Form running Access 2002 Runtim John Cosmas Microsoft Access Forms 0 6th Feb 2004 08:38 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:54 PM.