문제

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