Consulting

Results 1 to 9 of 9

Thread: PPT 2003 - Problem saving guidelines in template

  1. #1
    VBAX Expert TrippyTom's Avatar
    Joined
    Jul 2005
    Location
    New York, NY (USA)
    Posts
    556
    Location

    PPT 2003 - Problem saving guidelines in template

    Is it just me, or can you not save your ruler guidelines in a PPT template in 2003? I set them up in my blank.pot file, saved, and started a new file and they were gone!
    Office 2010, Windows 7
    goal: to learn the most efficient way

  2. #2
    VBAX Master
    Joined
    Feb 2007
    Posts
    2,094
    Location
    It's not just you!

    You could always write an event handler to open a blank presentation with the guides (-after new presentation event)

    PS Trippy if you use XP / 2003 we have a new free addin being tested to give something similar to the selection / visibility function in 2007. If you fancy helping test it email me john AT SIGN technologytrish.co.uk
    John Wilson
    Microsoft PowerPoint MVP
    Amazing Free PowerPoint Tutorials
    http://www.pptalchemy.co.uk/powerpoi...tutorials.html

  3. #3
    VBAX Expert TrippyTom's Avatar
    Joined
    Jul 2005
    Location
    New York, NY (USA)
    Posts
    556
    Location
    Ok, thanks John. At work, they got their .pot files to save the ruler guidelines, so that must be what they did. I will look into that. I think I saw somewhere during my research ways to add event handlers in PPT.

    p.s. - Email sent
    Office 2010, Windows 7
    goal: to learn the most efficient way

  4. #4
    VBAX Expert TrippyTom's Avatar
    Joined
    Jul 2005
    Location
    New York, NY (USA)
    Posts
    556
    Location
    Sorry to revive an ancient post, but I just discovered the guides are saved in the pres.xml section of your file (in PPT 2003) toward the bottom.

    HTML Code:
     <p:guide type="horizontal" position="2387"/>
    <p:guide type="horizontal" position="3793"/>
    <p:guide type="horizontal" position="981"/>
    <p:guide type="horizontal" position="391"/>
    <p:guide type="horizontal" position="527"/>
    <p:guide type="horizontal" position="822"/>
    <p:guide type="vertical" position="200"/>
    <p:guide type="vertical" position="2754"/>
    <p:guide type="vertical" position="2880"/>
    <p:guide type="vertical" position="3006"/>
    <p:guide type="vertical" position="5560"/>
    If a user had messed up my guides and I wanted to reset them to the original location, I could alter the xml code in the Script Editor (SHIFT ALT F11). I guess my question now is, can a vba macro alter script code?

    It would be great if I could make a button to reset the guides this way.
    Office 2010, Windows 7
    goal: to learn the most efficient way

  5. #5
    VBAX Master
    Joined
    Feb 2007
    Posts
    2,094
    Location
    Shyam has some code here which might be a pointer. Bad timing I was with Shyam last week and could have asked him to give me some pointers!
    http://skp.mvps.org/pptxp008.htm
    John Wilson
    Microsoft PowerPoint MVP
    Amazing Free PowerPoint Tutorials
    http://www.pptalchemy.co.uk/powerpoi...tutorials.html

  6. #6
    VBAX Expert TrippyTom's Avatar
    Joined
    Jul 2005
    Location
    New York, NY (USA)
    Posts
    556
    Location
    Thanks John... that looks interesting. I couldn't figure out where to put that code to make it work. Obviously the class code goes in a class module but I guess I copy/pasted the wrong sections into the wrong modules... /shrug

    Anyway, if you see him again, please ask him to write up an explanation of how to read/write to the pres.xml file via VBA (if it's even possible). I didn't see a feedback or help section on his website.

    Thanks
    Office 2010, Windows 7
    goal: to learn the most efficient way

  7. #7
    VBAX Master
    Joined
    Feb 2007
    Posts
    2,094
    Location
    You can write / read the pres.xml BUT only when the presentation is not open. Basically save a copy and work on that. Still not easy though.
    John Wilson
    Microsoft PowerPoint MVP
    Amazing Free PowerPoint Tutorials
    http://www.pptalchemy.co.uk/powerpoi...tutorials.html

  8. #8
    VBAX Master
    Joined
    Feb 2007
    Posts
    2,094
    Location
    Tom

    I was thinking of 2007 above. Not sure about 2003.
    John Wilson
    Microsoft PowerPoint MVP
    Amazing Free PowerPoint Tutorials
    http://www.pptalchemy.co.uk/powerpoi...tutorials.html

  9. #9
    VBAX Expert TrippyTom's Avatar
    Joined
    Jul 2005
    Location
    New York, NY (USA)
    Posts
    556
    Location
    i'm sure it's the same in 2003.. as far as not having the file open. I guess this is just one of those things I will have to live with. Thanks anyway.
    Office 2010, Windows 7
    goal: to learn the most efficient way

Posting Permissions

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