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
 Origin Forum
 setting active sheet in designated folder
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

zknauss

USA
72 Posts

Posted - 07/21/2022 :  2:11:26 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
This might be a simple question to answer but I am trying to get a script put together that will activate worksheets in a different workbook located in a different folder of the project. I was trying to use page.active$ = [Book name]"sheet name"!; but haven't had any luck and keep getting a command error. Thanks!



ZTK

YimingChen

1647 Posts

Posted - 07/21/2022 :  2:48:53 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
You can use the pe_cd X-function to go to the folder containing the page first.
https://www.originlab.com/doc/x-function/ref/pe_cd

James
Go to Top of Page

zknauss

USA
72 Posts

Posted - 07/22/2022 :  09:18:20 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
That worked perfectly Thanks!

ZTK
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