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
 Delete a sheet in origin 8?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

phamchau79

France
Posts

Posted - 06/10/2008 :  12:47:15 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Version (Select Help-->About Origin): 8 SR1
Operating System:Windows XP

Help me please!
How can i delete a sheet in a worksheet by labtalk?

Thanks

greg

USA
1380 Posts

Posted - 06/10/2008 :  4:07:14 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
A worksheet is a layer in the workbook, so we could use the LAYER -DELETE option like so:

sheetname$=My Junk Sheet;
win -a Book3; // Make the Workbook active
page.active$=sheetname$; // Now make the Worksheet active
layer -d; // and delete it



Go to Top of Page

phamchau79

France
Posts

Posted - 06/15/2008 :  06:51:49 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Perfect. Thank you.
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