Word vba - 按选项卡转到书签?

发布于 2024-07-25 17:12:21 字数 177 浏览 1 评论 0原文

我正在尝试创建一个宏,它允许我按 Tab 按钮转到预定义的书签。 我知道这可能可以使用 Words 内置函数来完成,但有一些错误需要解决。

所以我正在考虑创建一些[在此处键入文本]字段并将它们封装在书签中。 然后,通过按 Tab 键,它将转到宏中定义的下一个书签。 这可以做到吗? 最好使用某种数组。

I'm trying to create a macro which allows me to press the Tab-button to go to a predefined bookmark. I know this can probably be done using Words built in functions, but there are some bugs that I need to work around.

So I was thinking of creating some [Type text in here]-fields and encapsulate these in bookmarks. Then, by pressing Tab, it'd go to the next bookmark defined in the macro.
Can this be done? Preferrably by using an array of some sort.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

七婞 2024-08-01 17:12:23

这听起来与创建特定区域(字段)以供用户输入并保护文档其余部分的表单非常相似。 然后,用户使用 TAB 键

Word 2013 及以上

信息:Word 2007Word 2003

That sounds fairly similar to a form where you create specific areas (fields) for the user to type in and protect the remainder of the document. The user then uses the TAB key to move between fields

Info for Word 2013 onwards

Info for: Word 2007, Word 2003

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文