如何自动化常规Microsoft Word操作?

时间:2011-05-10 04:46:06

标签: text ms-word

例如,我有文本文件。像这样:

At around 6am last Bank Holiday **Monday** I was called by our **Australian** news desk who informed me of the news. Stumbling from my bed to the lounge, still half asleep and with the remnants of an enjoyable **Sunday evening** taking revenge on my skull, I was struggling to process the notion of putting one foot in front of the other let alone news that the world's most **notorious terrorist** had been killed.

仅举例来说。 我们的工作是用纸质文档取代我们自己的粗体词。操作非常常规,您可以滚动文本,查找单词,删除单词,输入新单词等。 我想也许有办法自动化它?也许用宏或其他机制? 微软的单词版本是2000.例如,我看到它像窗口,它要求:输入: - 确定 - 下一个窗口 - 输入 - 最后它将所有数据输入新文件。

2 个答案:

答案 0 :(得分:1)

是的,有办法。它被称为Mail Merge

答案 1 :(得分:0)

是的,您可以完全使用Word宏来自动使用查找和替换.1)记录一个宏。 2)找到并替换3)停止录制宏4)看看vb,如果需要可以在几个循环中等等.5)将宏分配给功能键(至少在Excel中很容易,从不与Word有关)