Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Word
application.errors
conversions
docmanagement
drawing.graphics
formatting.longdocs
international
internet.assistant
mail
mailmerge.fields
menustoolbars
newusers
numbering
oleinterop
pagelayout
printingfonts
setup.networking
spelling.grammar
tables
vba.addins
vba.beginners
vba.customization
vba.general
vba.userforms
web.authoring
word6-7macros
word97vba
  
 
date: Tue, 23 Sep 2008 05:30:02 -0700,    group: microsoft.public.word.vba.general        back       


Insert a picture into PowerPoint from Access using automation   
I am creating a PowerPoint presentation from Access 2007.

The problem I have is that when I insert a picture into a picture place 
holder in a PowerPoint template, the pictures aspect ratio is not retained or 
the picture is not sized to fit in the shape.

The code I use to do this is:
.Shapes.AddPicture(strPicture, msoFalse, msoTrue, .Shapes(intShapeNo).Left, 
.Shapes(intShapeNo).Top).LockAspectRatio = True

How can I insert a picture and re-size it to fit the shape and retain the 
pictures aspect ratio?
date: Tue, 23 Sep 2008 05:30:02 -0700   author:   Andre

Re: Insert a picture into PowerPoint from Access using automation   
Hi =?Utf-8?B?QW5kcmU=?=,

> I am creating a PowerPoint presentation from Access 2007.
>
Mmm. This newsgroup is for WORD VBA. Not PowerPoint (or 
Access). Try asking in the one - any only - PowerPoint 
newsgroup.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update 
Jun 17 2005)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any 
follow question or reply in the newsgroup and not by e-mail 
:-)
date: Tue, 23 Sep 2008 21:57:17 +0200   author:   Cindy M.

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us