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
delete all workbook
New Topic
Reply to Topic
Printer Friendly
Author
Topic
kdsaransh
India
89 Posts
Posted - 04/30/2015 : 01:38:29 AM
Hello,
I have a small problem to solve.
I have many workbooks and i want to delete all but not a particular one. How can i do this.
in general, I just want to delete all the workbooks that i had imported.i don't want to delete those workbooks that i had created.
Thanks in advance.
Regards,
Rajesh
Edited by - kdsaransh on 04/30/2015 02:04:36 AM
JRoby
USA
6 Posts
Posted - 04/30/2015 : 4:48:19 PM
Since imports create metadata storage containing the source filename and your 'created' books presumably do not, this script will delete all workbooks that DO have a stored filename:
doc -e W {
str$ = page.info.system.import.filename$;
if(str.GetLength() > 0) win -cd;
}
kdsaransh
India
89 Posts
Posted - 05/01/2015 : 12:37:39 AM
Hi, Thanks
Sorry, i think i messed up.
I just want to delete all workbooks but not a particular one.
Thanks
Topic
New Topic
Reply to Topic
Printer Friendly
Jump To:
Select Forum
Origin Forum
Origin Forum
Origin Viewer Forum
Origin Forum for Programming
Forum for Python
LabTalk Forum
Forum for Origin C
Forum for Automation Server/COM and LabVIEW
Origin中文论坛
Origin 中文论坛 (Chinese Origin Forum)
Japanese Origin Forum
Origin日本語フォーラム (Japanese Origin Forum)
Origin on Linux
The Origin on Linux Forum
Private Forums
Distributor Forum
--------------------
Home
Active Topics
Frequently Asked Questions
Member Information
Search Page
The Origin Forum
© 2020 Originlab Corporation
Snitz Forums 2000