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
 LabTalk Forum
 Export Ascii

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
amohammed6175 Posted - 08/27/2015 : 11:59:09 AM
Origin Ver. and Service Release (Select Help-->About Origin):
Operating System:windows 7

i just start working with origin Pro. Lab is they need to create a custom button to be able to save a specific sheet in a workbook to csv with no long name and the name of the file has to be the same of the imported file to the same file location was imported

i was able to create the button, but still missing the code to be attached to it

when i used this code, of course the name always still static

expASC type:=csv path:="C:\Users\amohammed6175\Desktop\sFile" overwrite:=replace longname:=0

if you can help


Ahmed Mohamed
2   L A T E S T    R E P L I E S    (Newest First)
amohammed6175 Posted - 09/03/2015 : 08:00:24 AM
thanks a lot for the help, All working now

Ahmed Mohamed
cpyang Posted - 08/27/2015 : 7:45:59 PM
Not sure if I understand you completely but if you are asking how to export into the original data file that was imported into the sheet, then you can use the following code, assuming that there was only one import in that book

%A=page.info.system.import.filepath$;
expASC type:=csv path:="%A" overwrite:=replace longname:=0;


CP

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