Hi,
I am really struggling with some VB code that is important. It is in relation to a powerpoint file. I have recorded a macro from one sheet to another to get the following code. (If it helps). But i wish to replace the file opening with an auto run code so that the slideshow will run automatically when it opens.
I do not wish to store the file as a PPS file as i need the show to end as normal and i will be using the file afterwards to export some results.
Sub Macro1()
Presentations.Open FileName:="C:\Desktop\Presentation.ppt", ReadOnly:=msoFalse
With ActivePresentation.SlideShowSettings
.RangeType = ppShowAll
.AdvanceMode = ppSlideShowUseSlideTimings
.PointerColor.SchemeColor = ppForeground
.Run
End With
End Sub
Please help?
I am really struggling with some VB code that is important. It is in relation to a powerpoint file. I have recorded a macro from one sheet to another to get the following code. (If it helps). But i wish to replace the file opening with an auto run code so that the slideshow will run automatically when it opens.
I do not wish to store the file as a PPS file as i need the show to end as normal and i will be using the file afterwards to export some results.
Sub Macro1()
Presentations.Open FileName:="C:\Desktop\Presentation.ppt", ReadOnly:=msoFalse
With ActivePresentation.SlideShowSettings
.RangeType = ppShowAll
.AdvanceMode = ppSlideShowUseSlideTimings
.PointerColor.SchemeColor = ppForeground
.Run
End With
End Sub
Please help?