Sub 合并简历()
Application.ScreenUpdating = False
MyPath = ActiveDocument.Path
MyName = Dir(MyPath & "/" & "*.docx")
Dim CurName As String
i = 0
Set coll = CreateObject("System.Collections.ArrayList")
Do While MyName <> ""
coll.Add MyName
MyName = Dir()
Loop
coll.Sort
For Each MyName In coll
If MyName <> ActiveDocument.Name Then
Set wb = Documents.Open(MyPath & "/" & MyName)
Selection.HomeKey unit:=wdStory