Thread: [Solved] recording macro in ppt 2007
View Single Post
 
Old 10-21-2011, 03:41 AM
PetLahev PetLahev is offline Windows XP Office 2007
Novice
 
Join Date: Oct 2011
Posts: 7
PetLahev is on a distinguished road
Default

In PPT 2007 you can't record macro :-(

What about this code
Code:
Dim shp As ShapeRange
    If ActiveWindow.Selection.Type = ppSelectionShapes Then
        Set shp = ActiveWindow.Selection.ShapeRange
        shp.Left = 0
        shp.Top = 0
        shp.Height = ActivePresentation.PageSetup.SlideHeight
        shp.Width = ActivePresentation.PageSetup.SlideWidth
    End If
    Set shp = Nothing
Reply With Quote