programmatically setting page size

G

gk

Anyone know of a way to programmatically set the page size present in the
"Page Setup" dialog?
 
S

Steve Rindsberg

PowerPoint, Word, and Excel

I'm a PowerPoint geek. Here's how you'd do it there:

With ActivePresentation.PageSetup
.SlideHeight = 540 ' height in points, 72 points to the inch
.SlideWidth = 720 ' width in points
End With

Try recording a macro while you manually change page setup in Word and Excel.
That should get you there.
 
G

gk

Thanks for the info.

Steve Rindsberg said:
I'm a PowerPoint geek. Here's how you'd do it there:

With ActivePresentation.PageSetup
.SlideHeight = 540 ' height in points, 72 points to the inch
.SlideWidth = 720 ' width in points
End With

Try recording a macro while you manually change page setup in Word and Excel.
That should get you there.


--
Steve Rindsberg, PPT MVP
PPT FAQ: www.pptfaq.com
PPTools: www.pptools.com
================================================
 
Top