Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VBA Script/Powerpoint-2007/Export Resolution

Status
Not open for further replies.

SDMc

Programmer
Nov 5, 2009
1
US
I'm trying to create a script that will export slides as images, then insert them into a new document. The issue is the resolution is 96dpi. I did find a fix to up the resolution via Start/Run/regedit/...ExportBitmapResolution. This does seem to help the resolution (upped it to 200dpi), but the application only exports a portion of the slide.

I'm guessing because it's still grabbing only a 96dpi area. Below is the code, any help is greatly appreciated.

--document size is 7/5.25 = 1400/1050 pixels at 200dpi.

Sub ExportImages()
With ActivePresentation
.Export Path:="C:\path to folder", FilterName:="bmp", _
ScaleWidth:=1400, ScaleHeight:=1050
End With
End Sub

Thanks for any help,
SM
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top