The Origin Forum
File Exchange
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
 Forum for Origin C
 Importing exel file to worksheet
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

M008

1 Posts

Posted - 06/29/2012 :  04:13:03 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hello everybody,

Can you help me please with importing excel file into an active worksheet using filters.

Penn

China
638 Posts

Posted - 07/02/2012 :  03:28:04 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

It seems that no filter will be used when importing excel file. However, there is an X-Function, impExcel, which can be used to import an excel file. You can save the import settings as a theme file by using this X-Function. And then use this theme for importing your excel file in Origin C by calling this X-Function, such as:

LT_execute("impExcel fname:=D:\test.xls -t myImportExcel;");  // myImportExcel is the theme file name

You can try to see whether it can help.

Penn
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 © 2008 Originlab Corporation Go To Top Of Page
Snitz Forums 2000