简体   繁体   English

当按下 MS Word 或 Excel 中的“拼音指南”按钮时,会调用哪个 VBA function 或宏?

[英]Which VBA function or macro is called when pressed the “phonetic guide” button in MS Word or Excel?

In Word I use the "phonetic guide" button for adding furigana to a kanji.在 Word 中,我使用“拼音指南”按钮将假名添加到汉字中。 After that I would like to post process the document.之后,我想发布处理文件。 The idea is to write a macro which calls the "phonetic guide" function, which opens the window for entering the Japanese text in the the first step and do do the post processing in the second step.想法是编写一个宏,调用“语音指南”function,它打开 window 以在第一步中输入日语文本,并在第二步中进行后期处理。 I used the macro recording function to get the "phonetic guide" command.我用宏录制function得到“拼音指南”命令。 However, the result is an empty function body.但是,结果是一个空的 function 主体。

How can I get the function name which is connected with the "phonetic guide" button?如何获取与“拼音指南”按钮相连的 function 名称?

Open the VBA Editor (F11) and look it up in the Object Browser.打开 VBA 编辑器 (F11) 并在 Object 浏览器中查找。

在此处输入图像描述

You can also look at the answer that was given to the last question that you asked on this subject, How to edit a MS Word system macro您还可以查看您在此主题上提出的最后一个问题的答案, 如何编辑 MS Word 系统宏

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

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