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
================================================
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top