R
Roger Whitehead
I'm trying to Add slides in a PP Presentation using Late Binding, from VBA
in a Word document. Reason for late binding is that I'm sending the document
to send the document to a user on Office 2003.
The line
Set sl = objPP.slides.Add(lng_Slide_Index, pplayoutblank)
trips an error:
"Slides.Add: Invalid enumeration value"
The variable 'lng_Slide_Index' is evaluating to 1, and is of type Long.
If I replace the variable with '1', I get the same error
If I replace the variable with '2', the error message tells me it's expectig
a value from 1 to 1.
Of course, if I set the Project Ref to include the PP object library, there
is no error.
in a Word document. Reason for late binding is that I'm sending the document
to send the document to a user on Office 2003.
The line
Set sl = objPP.slides.Add(lng_Slide_Index, pplayoutblank)
trips an error:
"Slides.Add: Invalid enumeration value"
The variable 'lng_Slide_Index' is evaluating to 1, and is of type Long.
If I replace the variable with '1', I get the same error
If I replace the variable with '2', the error message tells me it's expectig
a value from 1 to 1.
Of course, if I set the Project Ref to include the PP object library, there
is no error.