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 for Programming
 LabTalk Forum
 partial import of 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

jninkovic

Posts

Posted - 08/09/2010 :  4:50:50 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver.8.0 and Service Release SR6
Operating System:WinXP

Hi I am trying to write a script to import many excel files. Unfortunately origin imports many empty columns (256) so it takes a lot of time. Is there a way to define which columns to import (say 1-5). Thanks in advance.
Cheers,
jninkovic

Shirley_GZ

China
Posts

Posted - 08/09/2010 :  5:37:47 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

When you use X-Function impExcel to import Excel files, there is a variable to specify the maximum number of empty columns, emptycols.

About how to use it, please refer the below example.

impExcel fname:="C:\Documents and Settings\developer\My Documents\Book1.xls" excel:=0 emptycols:=0;

Thanks,
Shirley
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