Microsoft Word:添加屏幕提示会将文本更改为 {Hyperlink\| BookmarkName \o"screentip},但想要原始文本
Microsoft Word 无法在书签上添加超链接,并且每次
插入文档和屏幕提示时
它只显示此文本而不是原始文本。
任何人都可以提出问题实际上是什么吗?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我认为这是题外话,但您在这方面的经验比我丰富。
按 Alt+F9 切换字段代码/结果的显示。
在某些计算机上,这是Fn+Alt+F9。在 Mac 上,使用 Opt 而不是 Alt。
原始文本不会出现在域代码中,但会出现在文档中。
我最初错过了你真正的问题,错误的答案如下。
这与书签的存在或不存在无关。
这是 Word 中超链接和自动图文集字段的常见行为。显示该字段时,不会出现文档中显示的文本。
我在 Microsoft 网站上关于 Word 中的弹出文本。
这是字段插入对话框:
以下是文档中的内容:
以下是使用 Alt+F9 显示的字段代码:
请注意,显示文本根本不会显示在字段代码中。它仍然在那里。如果您选择该字段并在 vba 编辑器的立即窗口中输入以下内容,您将看到显示文本。
我怀疑这是这两个领域的起源。对于超链接字段,通常使用选定的文本创建。这并不是特别有意义,但这就是该领域的运作方式。
I think this is off-topic but you have more experience here than I do.
Press Alt+F9 to toggle display of field codes / results.
On some computers, this is Fn+Alt+F9. On Macs, use Opt instead of Alt.
The original text does not appear in the field code but is there and will show up in the document.
I originally missed your real question and the mistaken answer follows below.
This has nothing to do with the presence or absence of the bookmark.
This is the ordinary behavior of the Hyperlink and the AutoText fields in Word. The text displayed in the document does not appear when you display the field.
This is examined in my article on the Microsoft site about Pop-Up text in Word.
Here is the field insertion dialog box:
Here is what it looks like in the document:
And here is the field code shown using Alt+F9:
Note that the display text is not shown at all in the field code. It is still there. If you select the field and enter the following in the Immediate Window of the vba editor you will see the display text.
I suspect this comes from the origination of these two fields. With the hyperlink field, it is often created using selected text. It does not especially make sense, but it is how the field operates.