Mourning the loss of our friend, WhitPhil.
There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
 
Tech Support Guy Forums > Zack Barresse >
Conversation Between Zack Barresse and Red2034

Tip: Click here to scan for System Errors and Optimize PC performance
[ Sponsored Link ]

Conversation Between Zack Barresse and Red2034
IMPORTANT! READ THIS FIRST!
This form is to write a personal message to another user. DO NOT ASK FOR TECH SUPPORT HERE. To ask your tech support question, please go to the forums or read our welcome guide for new members. Thanks for your cooperation!
Showing Visitor Messages 1 to 2 of 2
  1. Zack Barresse
    03-Nov-2009 09:13 PM
    Zack Barresse
    Hey Red,

    I don't know off the top of my head really. I'd look at a way to reference the object itself. I don't know if you have other objects on your slides or not. Is there not a Shapes() collection? I'm thinking maybe you could take a look at that and reference it that way (as an object). To look at the object model, while in the VBIDE just press F2 (it's common across all MS Office apps).
  2. Red2034
    02-Nov-2009 05:04 PM
    Red2034
    Hey long time no talk... I was needing a bit of help on this:

    Sub ExportGraphics()
    Dim x As Long
    Dim y As Long
    Dim i As Integer
    Dim objText As Object

    For x = 1 To ActivePresentation.Slides.Count
    ' Call ActiveWindow.Selection.ShapeRange.Export("C:\Graphics\" & x & ".jpg", ppShapeFormatJPG)
    Call ActivePresentation.Slides.Range.Export("C:\Graphics\" & x & ".jpg", ppShapeFormatJPG)
    Next

    End Sub


    I have one graphic on each slide and I want to have the vba loop thru and export each graphic to the folder.... I can get it to work on one slide if I select the graphic (and use the commented out line) but thats timely if i have a deck that is 25 slides or more...

    can you help?
Twitter Twitter! | Podcast | Mobile | Advertise
You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -5. The time now is 05:52 PM.
Copyright © 1996 - 2009 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd.
Powered by Cermak Technologies, Inc.