Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 11-03-2014, 11:35 AM
phamh phamh is offline Delete a slide from a presentation in PPT Windows 7 64bit Delete a slide from a presentation in PPT Office 2013
Novice
Delete a slide from a presentation in PPT
 
Join Date: Oct 2014
Posts: 13
phamh is on a distinguished road
Default Delete Slide

Sorry, you are right. I did typed it in hurry. Here is my full codes to generate the slide and table. Since We use Coldfusion for front end. I need to code like below
<cfscript>
tempSlide = objPresentation.Slides;
newSlide = tempSlide.Add(tempSlide.Count+1, 12);
slideShape = newSlide.Shapes;
dummyTable = slideShape.AddTable(1,1,10,188,488,10);

</cfscript>
The systax is slightly different from the rest of the world.

When I writeDump(newSlide). I saw so many methods like AddRef, Release, etc. that applies to newSlide and one of them is Delete, then I code like this
newSlide.Delete to delete the newSlide, then I gave me error: simething like "The cause of this exception was that: AutomationException: 0x80020003 - Member not found"
Thank you for your time.
Pham
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Importing slides into new presentation - keeping slide numbers tanira2 PowerPoint 1 07-18-2014 11:22 AM
Presentation with table of content on every slide at right side - template? j_d PowerPoint 0 10-26-2013 05:59 AM
Delete a slide from a presentation in PPT How to scroll down the slide while presentation running? aditya_bokade PowerPoint 6 08-12-2012 12:09 AM
Delete a slide from a presentation in PPT Create PPT slide presentation with Excel data. Chart is displayed off the slide. eratem PowerPoint 4 02-29-2012 09:44 AM
Need to make a rotating slide presentation squatch97402 PowerPoint 0 12-03-2010 10:26 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 09:16 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft