Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在功能区上保留了一个“删除单词”按钮,这是我多年来在每个 Word 副本上创建的一个简单的小宏。现在我有 2013 年的字,我这样做了:
很简单,对吧?那为什么这个破宏只删除一个字符呢?
它像我宣传的那样工作。我怀疑你按 F8 关闭并错过了第二个。发布它记录的代码,或者让它看起来像这样:
Selection.Extend 'turn on extend mode Selection.Extend 'extend to the current word Selection.Delete Unit:=wdCharacter, Count:=1