newSlide.Delete?
Did your code "tempSlide = objPresentation.Slides;" actually work? It really shouldn't nor should slideShape = newSlide.Shapes (assuming they are declared as Slides and Shapes.) Also you cannot add a table without specifying number of columns and rows can you?
|