Thread: [Solved] recording macro in ppt 2007
View Single Post
 
Old 12-09-2011, 11:45 PM
Alchemy Alchemy is offline Windows 7 64bit Office 2010 32bit
Novice
 
Join Date: Dec 2011
Posts: 1
Alchemy is on a distinguished road
Default

Does this work??

Dim oshp As Shape
Dim osld As Slide
Set osld = ActiveWindow.View.Slide
Set oshp = osld.Shapes(osld.Shapes.Count)
oshp.Left = 0
oshp.Top = 0
oshp.Height = ActivePresentation.PageSetup.SlideHeight
oshp.Width = ActivePresentation.PageSetup.SlideWidth
Set oshp = Nothing
Set osld = Nothing
Reply With Quote