PDA

View Full Version : Solved: BeforeSave



bLuR
05-13-2005, 06:38 AM
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

Killian
05-13-2005, 10:01 AM
Hi bLuR and welcome to VBAX :hi:

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...

MOS MASTER
05-13-2005, 11:15 AM
Welcome form me as well! :hi:

Can you explain what you're trying to do over here...perhaps we can assist you? :whistle:

bLuR
05-17-2005, 07:09 AM
Thanx for the replies,

I got it working! :thumb

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 :beerchug:

MOS MASTER
05-17-2005, 09:55 AM
Glad you've got it working now! :thumb