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! |