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
Any help
New Topic
Reply to Topic
Printer Friendly
Author
Topic
Forint
USA
1 Posts
Posted - 11/07/2023 : 04:28:27 AM
Origin 2019b (32-bit)
9.6.5.169
Windows 10
Hello, I am searching for a command/variable to delete the last sheet in a workbook.
I just found __LASTWKS$ which is the last workbook. There has to be the same for the last worksheet.
Hope somebody can help me.
Edited by - Forint on 11/07/2023 8:13:28 PM
ChaoC
USA
174 Posts
Posted - 11/07/2023 : 10:06:01 AM
Hello Forint,
page.active=page.nlayers;
layer -d;
Please see:
https://www.originlab.com/doc/en/LabTalk/ref/Page-obj#Read_and_Set_Number_of_Layers.2FSheets
https://www.originlab.com/doc/en/LabTalk/guide/Worksheet-Basic-Operation#Delete_Worksheet
Best,
Chao
cloakappraiser
USA
1 Posts
Posted - 11/27/2023 : 05:02:48 AM
Fantastic, problem solved, thanks for the help! It was just what I was looking for.
Topic
New Topic
Reply to Topic
Printer Friendly
Jump To:
Select Forum
Origin Forum
Origin Viewer Forum
Origin 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