The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
 All Forums
 Origin Forum for Programming
 Forum for Origin C
 pef_pptslide - graph transfer to powerpoint broken

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

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

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000