Excel 电子表格中的 ActiveX 控件 Tab 键顺序 - 是否可以从脚本访问/控制它?
我在 Excel 2007 电子表格中嵌入了许多 ActiveX 控件。有没有办法从 VBA 代码访问分配给控件的 Tab 键顺序,以便可以按特定顺序对控件进行 Tab 键切换?我已按插入顺序插入了 ActiveX 控件的制表符,但在对应用程序进行更改后,这是不正确的。
I have embedded a number of ActiveX controls in an Excel 2007 spreadsheet. Is there a way from VBA code to access the tab order assigned to a control so that the controls can be tabbed through in a particular order? The ActiveX controls I have inserted tab through in the insertion order, but this is not correct after changes have been made to the application.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
听起来您经常更新控件。我也未能找到更改嵌入式控件上的选项卡顺序的方法。除了以正确的排序顺序重建表单之外,唯一的选择是创建您自己的表单,然后只需使用单个嵌入式按钮将其打开。
It sounds like your updating the controls frequently. I have failed to find a way to change the tab order on embedded controls as well. Only other option, other than rebuilding the form in the correct sort oder, would be to create your own form, then just call it open with a single embedded button.