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
 How to delete a Worksheet ?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

ungat

Belgium
Posts

Posted - 03/23/2006 :  2:28:22 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Version (Select Help-->About Origin): 7.5
Operating System:Win XP Pro SP2

Hello, could someone help me how to delete a Worksheet with sript Window ?

Thank you very much.

Mike Buess

USA
3037 Posts

Posted - 03/23/2006 :  2:42:20 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
win -cd wksName deletes the named worksheet and all of its data. Use win -cd %H to delete the active worksheet and data.

Mike Buess
Origin WebRing Member
Go to Top of Page

SvenP

29 Posts

Posted - 08/26/2010 :  03:43:42 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
And how can I delete a worksheet but only when it exists?

I found following but it does not work:

if( %N ) win -cd %N;

%N is the name of my window/worksheet.

Thanks.
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