Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PowerPoint object problem

Status
Not open for further replies.

junkjones

Programmer
Jul 14, 2000
52
GB
I am trying to pull the number of slides from a powerpoint presentation using CFSCRIPT and some code I found on the MSDN website, however I'm getting this error:

<CFSCRIPT>
objPresentation = objPresentations.Open(&quot;filename&quot;, False, False, False);
BDP = objPresentation.BuiltinDocumentProperties;
customShow = BDP.Item(&quot;Number of Slides&quot;);


</CFSCRIPT>

Error Diagnostic Information:
Arguments expected by object does not match arguments specified

Any help is much appreciated!! [ponytails]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top