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
 excel sheetname detection

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
onceagain Posted - 10/21/2018 : 3:16:14 PM
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?
1   L A T E S T    R E P L I E S    (Newest First)
yuki_wu Posted - 10/22/2018 : 03:44:36 AM
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

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