简体   繁体   English

Microsoft Office 脚本 - 移动到特定单元格

[英]Microsoft Office Scripts- moving to a specific cell

For Office Scripts professionals, I can move from Tab1 To Tab2 through the script, but I don't know how to move to cell A1 when moving to another tab.对于Office Scripts专业人士,我可以通过脚本从Tab1移动到Tab2,但我不知道如何在移动到另一个选项卡时移动到单元格A1。 Any ideas please任何想法请

I try to link a script to a button to move to a specific Cell (Ex:A1) in Tab2.我尝试将脚本链接到按钮以移动到 Tab2 中的特定单元格 (Ex:A1)。 I'm good to move to Tab2 but I can't move the cursor to A1 cell我很高兴移动到 Tab2,但我无法将 cursor 移动到 A1 单元格

A bit of what you're using to go to Tab2 would help but I think I have a general idea of what you're asking.您使用 go 到 Tab2 的一些内容会有所帮助,但我想我对您的要求有一个大概的了解。

After specifying the tab, you cause use.getCell(0.0).select();指定选项卡后,您会导致 use.getCell(0.0).select();

Assuming there's nothing else on the sheet (saying that because that's all that's provided) it should go to A1.假设工作表上没有其他内容(这么说是因为提供的就是这些),它应该是 go 到 A1。

Hope this helps!!希望这可以帮助!!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM