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
 excel sheetname detection
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

onceagain

1 Posts

Posted - 10/21/2018 :  3:16:14 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. and Service Release (Select Help-->About Origin): 2017
Operating System: win7-msoffice2016

When opening an excel file(document -append; but also as "open excel...") with multiple worksheets, only the active sheet is detected (as per list in right-click workbook->properties).
However, I need to adress the other different sheets by name as well ([workbook]sheetname!cell(x,y)) but cannot, since they do not exist for origin until I manually activate and right-click "update origin" to get them listed with their name and index @number.
Is there a basic import option I am missing or what would be the correct workaround for labtalk to activate and update to get all sheets listed?

yuki_wu

896 Posts

Posted - 10/22/2018 :  03:44:36 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

Use layer command:

layer -se Sheet2;
cell(2,2)=;


However, I think importing Excel to Origin first is a better way:
https://www.originlab.com/doc/X-Function/ref/impMSExcel

Regards,
Yuki

OriginLab
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