Many thanks if someone can shed light on this. My suspicion is either the Shapes.AddTextbox method or some of its parameters are not supported, but I couldn't find relevant information/ reference on the internet. I have no problem opening Powerpoint files and it crashes only when I ran this code. Run in a Mac environment, the below code succeeds in opening and saving the ppt file, but on the With statement where it tries to call the AddTextbox method, it causes the Powerpoint Application to crash.
I am coding VBA in excel, which attempts to open and save a copy of a Powerpoint file, then add a textbox to a slide.