Consulting

Results 1 to 3 of 3

Thread: save slide as a jpeg of certain size

  1. #1
    VBAX Expert
    Joined
    Jan 2005
    Posts
    574
    Location

    save slide as a jpeg of certain size

    Hi All

    I am trying to save a powerpoint slide as a jpeg for use in a web page, is there a way to do a save as jpeg but make the size of the image smaller (i.e. only fit half the screen instead of all of it)

    thanks

    gibbo

  2. #2
    VBAX Mentor ALe's Avatar
    Joined
    Aug 2005
    Location
    Milan
    Posts
    383
    Location
    I don't think you can do it directly. Can you use .wmf instead of .jpg (it's much smaller)?
    ALe
    Help indigent families: www.bancomadreteresa.org

  3. #3
    VBAX Master
    Joined
    Feb 2007
    Posts
    2,094
    Location
    You should be able to use the export method Change the sizes to suit

    eg

    Sub dothis()
    With ActivePresentation.Slides(1)
    .Export "C:\Documents and Settings\john\Desktop\test.jpg" _
    , FilterName:="JPG", ScaleWidth:=300, ScaleHeight:=200
    End With
    End Sub
    Last edited by Aussiebear; 04-28-2023 at 08:22 PM. Reason: Adjusted the code tags
    John Wilson
    Microsoft PowerPoint MVP
    Amazing Free PowerPoint Tutorials
    http://www.pptalchemy.co.uk/powerpoi...tutorials.html

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •