Вопрос

I want to give the possibility to save a presentation when my macro executes.

I don't want it to be mandatory so I will insert a pop up asking if they want to save it.

But one problem that I see is that if it is already saved, I don't want anything to appear - how can I check if it is saved or not?

Это было полезно?

Решение

The Presentation.Saved property tells you whether there have been any changes since the last save, and therefore whether you need to save it. Check this property before you show your pop-up.

Presntation.Saved on MSDN.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top