Word快捷替换功能请教

Justicescalia 2018-05-24 06:45:06
请教各位大神,小弟想在Word实现一个功能:

第一步:光标选中一个单词,例如seven

第二步:按一组快捷键,“seven”这个单词可以变成“{{c1::seven}}”

功能的本质是选中“xxxx”,“xxxx”可以变成“{{c1::xxxx}}”

例如

Four score and seven years ago our fathers brought forth on this continent, a new nation, conceived in Liberty, and dedicated to the proposition that all men are created equal.

变成

Four score and {{c1::seven}} years ago our fathers brought forth on this continent, a new nation, conceived in Liberty, and dedicated to the proposition that all men are created equal.
...全文
869 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
threenewbee 2018-05-25
  • 打赏
  • 举报
回复
word里面录制一个宏,会自动给你生成vba代码的

110,536

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 C#
社区管理员
  • C#
  • Web++
  • by_封爱
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

让您成为最强悍的C#开发者

试试用AI创作助手写篇文章吧