I am using Lotus Script to print a MS PowerPoint Presentation and need to specify the output type to print speaker notes instead of slides.
When setting the PrintOptions.OutputType I am getting the error "Invalid Enumeration Value." Can you review my code and let me know what I am doing wrong or what the valid types are?
Code- Call object.extractfile(fname) Set app = createobject "PowerPoint.application") app.visible = True app.presentations.open(fname) Print("Printing PowerPoint Attachment") app.ActivePresentation.PrintOptions.OutputType = ppPrintOutputNotesPages app.ActivePresentation.PrintOut
This is really a Powerpoint Question and I'm not sure of an answer. However, the code you submitted is assigning a variable called ppPrintOutputNotesPages to the output type. This variable is not defined anywhere in the code you submitted. If it isn't supposed to be a variable, maybe it should be a string in quotes.
Related Q&A from Brian Mahoney
Find out what types of calculations can be computed for a column in a Lotus Notes view and the best way to go about it with this expert response.continue reading
Find out why you can't use Formula language to include a doclink to a specific Lotus Notes view or database and need to use LotusScript instead.continue reading
Discover the reasons behind a Notes/Domino admistrator having trouble with disabled options in the "customize this view" section of his Lotus Notes ...continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.