Hi,
If you think wxt function is useful, you could activate the worksheet first by:
page.active = 2; // Active worksheet by index
page.active$ = sheet3; // Active worksheet by name
More info about how to activate a worksheet could be found in this page:
https://www.originlab.com/doc/LabTalk/guide/Worksheet-Basic-Operation#Activate_a_Worksheet
If you still have any questions, please send your file with detailed description to us via tech@originlab.com with the subject line “Attn: Yuki”
Regards,
Yuki
OriginLab