AddPicture Method Example

This example adds a picture created from the file Music.bmp to myDocument. The inserted picture is linked to the file from which it was created and is saved with myDocument.

Set myDocument = ActivePresentation.Slides(1)
myDocument.Shapes.AddPicture "c:\microsoft office\" & _
    "clipart\music.bmp", True, True, 100, 100, 70, 70