$new_slide = $presentation->Slides->Add( $slideNumber, ppLayoutBlank ); $new_slide->Select;