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
 active worksheet name
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

wojtek_

5 Posts

Posted - 09/20/2017 :  3:20:37 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hi,
I have a very basic question which actually I cannot find the answer. How to get a name of active worksheet?

Usinge %E variable I get "[shortbookname]shortworksheetname" but I need only "shortworksheetname".

nick_n

Finland
125 Posts

Posted - 09/20/2017 :  4:23:09 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

string strWorkSheetName$=page.active$; //if you need name of sheet
int iWorkSheet=page.active; //if you need Sheet index

Best,

Nikolay
Go to Top of Page

wojtek_

5 Posts

Posted - 09/20/2017 :  4:43:32 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thank you very much!

Best regards,
Wojtek
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