Image Icon in Tool Box

  • Thread starter Thread starter Phil K
  • Start date Start date
P

Phil K

How can I place an image in the slide using the image button. When I click
on the icon and identify and area on the side that is associated with the
image I can't find information of how to insert or attach and image using VBA.

Thanks .. Phil
 
Thanks for the advice. What I was trying to do is learn how to use the Image
portion of VBA. Presently I use Custom Animation and triggers.

The project I am working on is mostly VBA and I realize that it will not
work using viewer.

Thanks again

Phil
 
I'm with Steve, this is not really a good idea!

If you need to know for "educational purposes" and if the control is on
slide 1 and has the default "Image1" name...

Sub imageme()
With ActivePresentation.Slides(1).Shapes("Image1").OLEFormat.Object
..Picture = LoadPicture("Path to Picture")
End With
End Sub
--

john ATSIGN PPTAlchemy.co.uk
Custom vba coding and PPT Makeovers
Free PPT Hints, Tips and Tutorials
http://www.pptalchemy.co.uk/powerpoint_hints_and_tips_tutorials.html
 
Thanks John and Steve..

Phil


John Wilson said:
I'm with Steve, this is not really a good idea!

If you need to know for "educational purposes" and if the control is on
slide 1 and has the default "Image1" name...

Sub imageme()
With ActivePresentation.Slides(1).Shapes("Image1").OLEFormat.Object
.Picture = LoadPicture("Path to Picture")
End With
End Sub
--

john ATSIGN PPTAlchemy.co.uk
Custom vba coding and PPT Makeovers
Free PPT Hints, Tips and Tutorials
http://www.pptalchemy.co.uk/powerpoint_hints_and_tips_tutorials.html
 
Back
Top