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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VBA - PowerPoint - accessing Screen object

Status
Not open for further replies.

jgillin

Programmer
Oct 22, 2003
82
US
When working in PowerPoint VBA, I don't seem to have access to the Screen object. I'm trying to get the TwipsPerPixelX value, but can't seem to figure out how to get this value.
Does anyone know how this can be done when working in PowerPoint vba?
Thanks for any suggestions.
 
From the VBA help:
With ActiveWindow
myXparm = .PointsToScreenPixelsX _
(.Selection.TextRange.BoundWidth)
myYparm = .PointsToScreenPixelsY _
(.Selection.TextRange.BoundHeight)
End With

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top