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
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum
 Origin Forum
 how to turn an ogw workbook into an excel file?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

jshih9

USA
3 Posts

Posted - 03/30/2016 :  1:23:54 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. and Service Release (Select Help-->About Origin): 9.0.0
Operating System: Windows

Is there anyway I can export an entire workbook with all its sheets as an Excel or Excel-readable file? I see that you can export sheets from the workbook one at a time, but I feel like there is a faster way to do this or to automate it. Also, exporting sheets one by one doesn't put them all in one file, rather many separate files. Any help is appreciated.

meili_yang

103 Posts

Posted - 03/30/2016 :  2:31:54 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi jshih9,

With workbook window activated, from menu File:Export:ACSII you can export to .dat,.txt, .csv then open from Excel. In that dialog, it exports active worksheet the single window. If to export entire workbook with multiple worksheet, you can run simple scripts to loop all worksheets in the workbook, and run the same x function expASC. http://www.originlab.com/doc/X-Function/ref/expASC

See following is an example to export worksheets in workbook to .dat files with worksheet name.

doc -e LB
{
string str$=wks.Name$;
expASC path:="path\%(str$).dat";}//update "path" there with your exported folder path

To run this, just go to menu Window: Script window. Highlight the codes and hit Enter from keyboard.

Hope this helps.


Meili
OriginLab Tech Support
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000