Hello, the bottom line is, there is an Excel book with molds and buttons and a PowerPointa presentation, consisting of one slide, saved in demo mode. It is necessary through Active X to make sure that when you open this book, the presentation is played, and then your own logic of the Excel book is executed. In the manual, the example looks like this:
Public Sub zastavka() Dim ppApp As Object Set ppApp = CreateObject("PowerPoint.Application") ppApp.Visible = True ppApp.Presentations.Open "G:\shop_ppt.ppsx" ppApp.Quit End Sub But it does not work, the presentation closes immediately. If you remove the last line, the presentation works, but then everything must be manually closed. In addition, at office 2013, this code only opens the PowerPoint editor with the presentation not in viewing mode, but in the training room, it immediately starts to lose. Help, set off, VBA saw a week ago, and I don’t understand a damn thing.