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
 Iterating Over Workbooks

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
cdrozdowski111 Posted - 12/12/2012 : 8:32:27 PM
OriginPro 9.0.0 (Student Version), Win7 64-bit, running in VMware Fusion 5.0.2


The doc command can be used to iterate over workbooks in a given folder as follows:

doc -ef W {}

That sorts them by short name.

Is there anyway to iterate over workbooks in a given folder by the order they appear in the folder in the Project Window (which may be different than WB short name)?
1   L A T E S T    R E P L I E S    (Newest First)
greg Posted - 12/17/2012 : 3:53:43 PM
I believe Creation order is always used and Project Explorer (which is sortable on header) is ignored. I have never seen any code that 'looks at' Project Explorer so I doubt you can even do that in Origin C.

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