PowerPoint tips, hints and tutorials that will change your presentations for ever! | ||
Jigsaws |
PowerPoint Photo Albums The Photo Album feature in PowerPoint 2002 onwards is a quick way to insert a large number of photographs in a PowerPoint presentation. Pre 2007 the "Pictures" were actually filled shapes and couldn't be cropped etc like real pictures. In 2007 this has been fixed. Even so the layout of the album is still limited, this code allows you more flexibilty and it's virtually instant. IT IS ONLY FOR ALBUMS WITH ONE PIC PER SLIDE AND NO CAPTION! Thanks to Sarah for pointing out that captions kill the code! Always work on a copy of your presentation! To use copy the code into a module in the VBE (If you're lost already please see "How to use vba in a presentation" ) then adjust any one picture to the size, position etc you require adding borders, shadows etc if you wish. Select this picture and run the code. All Done! If you do not have version 2007 you should change the line If oshp.Type = msoPicture Then NB If you have 2002/3 and real pictures (not inserted with Photo Album) use the 2007 code The code: 'Copy from here ----------------- On Error GoTo errhandler Set oshp = ActiveWindow.Selection.ShapeRange(1) With oshp For Each osld In ActivePresentation.Slides With oshp The code below sets all the pictures to the same height keeping the original aspect ratio and centres the picture 'Copy from here ----------------- |
|
Articles on your favourite sport Free Microsoft PowerPoint Advice, help and tutorials, Template Links |