Consulting

Results 1 to 5 of 5

Thread: Solved: BeforeSave

  1. #1
    VBAX Newbie
    Joined
    May 2005
    Posts
    2
    Location

    Solved: BeforeSave

    Hi guys,

    I see that Powerpoint doesn't have a SaveAsUI parameter in the beforeSave event.

    Private Sub Powerpoint_BeforeSave(Cancel As Boolean)

    So how do i know if the savedialog is being displayed or not?

    Thanx

  2. #2
    VBAX Master Killian's Avatar
    Joined
    Nov 2004
    Location
    London
    Posts
    1,132
    Location
    Hi bLuR and welcome to VBAX

    It would appear that you won't...one of the joys of VBA in PowerPoint :-|
    It does have a parameter for the presentation though (Pres), so if you're checking for an "untitled" presentation, you can check the Pres.Path property is an empty string.
    Other than that, you'll have to find another workaround...
    K :-)

  3. #3
    Administrator
    VP-Knowledge Base
    VBAX Guru MOS MASTER's Avatar
    Joined
    Apr 2005
    Location
    Breda, The Netherlands
    Posts
    3,281
    Location
    Welcome form me as well!

    Can you explain what you're trying to do over here...perhaps we can assist you?
    _________
    Groetjes,

    Joost Verdaasdonk
    M.O.S. Master

    Mark your thread solved, when it has been, by hitting the Thread Tools dropdown at the top of the thread.
    (I don't answer questions asked through E-mail or PM's)

  4. #4
    VBAX Newbie
    Joined
    May 2005
    Posts
    2
    Location

    Talking Works

    Thanx for the replies,

    I got it working!

    At the end i decided i'll store the fullname of the presentation. I update the fullname on New and Open events and if it changed on a PresentationSave i know that a SaveAs occured.

    Beers all around



  5. #5
    Administrator
    VP-Knowledge Base
    VBAX Guru MOS MASTER's Avatar
    Joined
    Apr 2005
    Location
    Breda, The Netherlands
    Posts
    3,281
    Location
    Glad you've got it working now!
    _________
    Groetjes,

    Joost Verdaasdonk
    M.O.S. Master

    Mark your thread solved, when it has been, by hitting the Thread Tools dropdown at the top of the thread.
    (I don't answer questions asked through E-mail or PM's)

Posting Permissions

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