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
 partial import of excel file

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
jninkovic Posted - 08/09/2010 : 4:50:50 PM
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
1   L A T E S T    R E P L I E S    (Newest First)
Shirley_GZ Posted - 08/09/2010 : 5:37:47 PM
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

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