Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
To read total number of slides in Powerpoint presentation
#1
Solved: 11 Years, 3 Months, 1 Week ago
Hi all,

Please help me in the below query

How to read the total number of slides in a power point presentation

Thanks
Reply
#2
Solved: 11 Years, 3 Months, 1 Week ago
Hi try this:
Code:
Set objPPTApp=CreateObject("PowerPoint.Application")
objPPTApp.Visible=True
Set objPPTPres=objPPTApp.Presentations.Open("c:\path\Filename.ppt")
MsgBox objPPTPres.Slides.Count
objPPTPres.Close
objPPTApp.Quit
objPPTPres=Nothing
objPPTApp=Nothing
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Want to read the data from excel and set read value in the JavaTable rajeevk7 0 2,287 07-10-2017, 04:20 PM
Last Post: rajeevk7
  This code does not give total no of links present on page plz help it returns 0 excellentpawan 8 5,569 01-17-2015, 07:49 PM
Last Post: yogi4tech
  I want to count total no of links in a page and click one by one excellentpawan 9 7,180 07-23-2013, 11:51 AM
Last Post: Ankur
  Total no of mail in gmail excellentpawan 2 3,113 07-05-2013, 01:56 PM
Last Post: Staff
  How will you identify total number of buttons on SAP window. ketan.barbade@gmail.com 1 2,578 02-03-2011, 06:45 PM
Last Post: PrabhatN

Forum Jump:


Users browsing this thread: 1 Guest(s)