本帖最后由 zzpsx 于 2018-11-23 08:31 编辑
如何批量改题号.rar
(4.47 KB, 下载次数: 4)
选中(一定要有选中这个操作)一段文本后,如何将文本中出现的题号从1开始标注,也就是把16.改为1. 17.改为2. 18.改为3. 有几个改几个 16. Whathas made it easier for people to share ideas about beauty? A. Thedevelopment of technology. B. The popularity of the latest fashions. C. Theunchanged cultural traditions. D. The world’s growing population. 17. Whatcan be learned about the Masai people from thepassage? A. Longer ear lobes are their new fashion. B. Only women make their ear lobes longer. C. They think longer ear lobes look beautiful. D. They make actors and film stars famous.
我只会录制宏,Sub 改题号()
'
' 改题号 Macro
' 宏在 2018-11-23 由 - 录制
'
Selection.HomeKey Unit:=wdLine
Selection.HomeKey Unit:=wdStory
Selection.MoveRight Unit:=wdCharacter, Count:=2, Extend:=wdExtend
Selection.TypeText Text:="1"
Selection.MoveDown Unit:=wdLine, Count:=5
Selection.MoveLeft Unit:=wdCharacter, Count:=1
Selection.MoveRight Unit:=wdCharacter, Count:=2, Extend:=wdExtend
Selection.TypeText Text:="2"
End Sub
|