Hi All,
I have some problems about the template of PPT report.
I try to use the other file as the template instead of the default one, but the Save Presentation showed that
Unsupported picture format in access or evaluation of 'Save Presentation' , Bad Argument( "C:\Users\whtseng\Desktop\temp1.pptx" ), Save Presentation(
"C:\Users\whtseng\Desktop\wow1.pptx","C:\Users\whtseng\Desktop\temp1.pptx",PNG) /*###*/
It seems my template has format issue, so I delete the "C:\Users\whtseng\Desktop\temp1.pptx" to let JMP use the default template JMPExportTemplate.pptx in C:\Program Files\SAS\JMP\12\pptx. It works!!
So I copied the JMPExportTemplate.pptx to desktop, and modify the script to use it as template. It fails!! And the same message showed up,
Unsupported picture format in access or evaluation of 'Save Presentation' , Bad Argument( "C:\Users\whtseng\Desktop\JMPExportTemplate.pptx" ), Save Presentation(
"C:\Users\whtseng\Desktop\wow1.pptx","C:\Users\whtseng\Desktop\JMPExportTemplate.pptx",PNG) /*###*/
I never changed any format and content in JMPExportTemplate.pptx, how can this format issue happen again? and how can I fix it?
Here is my code:
Names Default To Here( 1 );
dt=Open( "$SAMPLE_DATA/Big Class.jmp" );
biv = Bivariate( Y( :weight ), X( :height ), Fit Line( {Line Color( {213, 72, 87} )} ) );
rbiv = biv << report;
rbiv <<Save Presentation("C:\Users\whtseng\Desktop\wow1.pptx",
"C:\Users\whtseng\Desktop\JMPExportTemplate.pptx",PNG);
Thank you for any helps!