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
 LabTalk compatability from 7.5 to 8
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

TheNuge

USA
2 Posts

Posted - 06/10/2009 :  4:54:41 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin 8 SR5, v8.0987 (B987)
Windows XP Professional SP3

This is the beginning of over 400 lines of script, which works perfectly Origin 7.5. I need to open an Excel workbook as an Origin worksheet. In Origin 8, this code just opens it as an Excel, ignoring the commented lines.

How can i achieve this in Origin 8?

FDLOG.UseGroup(Excel);
nofile=FDLOG.Open(A);
if (nofile) return;
%B=FDLOG.path$;
system.Excel.OpenAsExcel=0; // doesn't work in v8
system.Excel.OpenAsPrompt=1; // doesn't work in v8
doc -append %B%A;

Thank you!

TheNuge

USA
2 Posts

Posted - 06/11/2009 :  08:09:06 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Nevermind, I found out the new simplified method here:

http://wiki.originlab.com/~originla/wiki/index.php?title=ReleaseNotes:Features_that_were_changed
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