T O P I C R E V I E W |
Karsten8 |
Posted - 07/23/2024 : 03:22:57 AM Origin Ver.2023b and Service Release 1: Operating System: Microsoft Server Standard 2022 MS Office LTSC Prof Plus 2021 (Version 2108)
Dear Origin-Team,
more than 1 year we constantly used the following command to transfer our graphs from origin to powerpoint. Without changes to the code we get the following error message:
pef_pptslide export:=page mode:=lname slide:=3 insert:=pic keepratio:=1 left:=5 right:=20 top:=5 bottom:=10 slidemode:=insert srcf:=folder$;
Automation error: (80048240) Microsoft PowerPoint: Shapes.PasteSpecial : Invalid request. Origin C error (24) in X-Function code.
What I checked so far: - path to the ppt is correct - we do not have very large pictures which might increase the data transfer-time to ppt - even with a new origin project and two empty graphs this problem occurs
- I started to delete parameter from the command and found that this short version of the command still works but adding the other paramter causes the error message pef_pptslide export:=page mode:=lname slide:=3 insert:=pic;
It would be great if you can help to get the code running again.
Thanks a lot and best regards,
Karsten8. |
2 L A T E S T R E P L I E S (Newest First) |
Karsten8 |
Posted - 07/31/2024 : 01:32:32 AM Dear James,
thanks for your help. Updating origin to the lastest version as well as update of office solved this problem - i.e. the error message does not pop up anymore and pef_pptslide works again now.
fyi: Before we updated the software I tested option 2: " remove insert:=pic in the script " At least on my system this did not solve the problem.
The topic can be closed.
With best regards,
Karsten8. |
YimingChen |
Posted - 07/23/2024 : 11:46:15 AM Hi,
This is a known issue with PowerPoint 2021 and we have fixed it. (jira: APPS-1440) Here are couple of options: 1. Upgrade your Origin to the latest version. 2. remove insert:=pic in the script to send graph as object into PPT. 3. Use an older version of PowerPoint.
Thank you James
|