I switched from office 2010 to office 2016 and I noticed the below VBA now gives an error 1004 (Method 'Open' of object 'Workbooks' failed). I have confirmed this code works as intended in powerpoint 2010 but does not work in powerpoint 2016. I was hoping someone could help me determine the cause.
Sub testing()
Excel.Application.Workbooks.Open FileName:="PATH\FILENAME"
End Sub
I have updated the Microsoft excel library reference to version 16.0 and I have tried some of the other ways to run the same command to no avail. I'm convinced it has something to do with the library references.
Thanks in advance for any suggestions you have.