I am using this vba code to open a powerpoint file and update the links. Right now I'm having to make the object visible but I want to be able to run this in the background and hidden to users. Is this possible?
End Function
Code:
Public Function OpenPPT()
Dim PPObj As Object
Set PPObj = CreateObject("Powerpoint.Application")
PPObj.Visible = True
PPObj.Presentations.Open FileName:="C:\test.pptx"
PPObj.ActivePresentation.UpdateLinks
PPObj.ActivePresentation.Save
PPObj.Quit
End Function