Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 02-24-2015, 01:42 PM
phamh phamh is offline Insert am Image Windows 7 64bit Insert am Image Office 2013
Novice
Insert am Image
 
Join Date: Oct 2014
Posts: 13
phamh is on a distinguished road
Default Insert am Image


Hello,
I wonder if there is anyone can help on syntax how do I insert an image into PPTX slide please? like this slideShape.AddtextBox() will add an Text into slide
Thank you in advance.
Reply With Quote
  #2  
Old 02-25-2015, 04:40 AM
JohnWilson JohnWilson is offline Insert am Image Windows 7 64bit Insert am Image Office 2010 32bit
Programmer
 
Join Date: Nov 2008
Location: UK
Posts: 1,912
JohnWilson has a spectacular aura aboutJohnWilson has a spectacular aura about
Default

Assuming slideShape is a reference to a Shapes object

slideShape.AddPicture FileName:="the path to picture", _
LinkToFile:=False, _
SaveWithDocument:=True, _
Left:=10, _
Top:=10
__________________
Microsoft PowerPoint MVP 2007-2023
Free Advanced PowerPoint Tips and Tutorials
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Insert and resize image lenguyenleduong Word VBA 2 05-11-2014 07:23 AM
How to insert a dinamic image? SpiderJ PowerPoint 0 05-27-2011 12:41 PM
Background image vs. insert image lilaria PowerPoint 0 04-18-2011 08:45 AM
Insert image in bookmarks kroz Word VBA 0 11-29-2010 04:55 AM
Insert am Image Insert Vector Image icu222much Office 2 11-07-2009 02:49 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:32 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft